public class JamonDataPersisterDecorator extends Object implements JamonDataPersister
Constructor and Description |
---|
JamonDataPersisterDecorator() |
Modifier and Type | Method and Description |
---|---|
MonitorComposite |
get(String key) |
String |
getInstance()
get this instance name.
|
Set<String> |
getInstances() |
JamonDataPersister |
getJamonDataPersister() |
void |
put()
Puts the default data (MonitorFactory.getRootMonitor()) in with the default key (For example 'local')
|
void |
put(String instanceKey)
Puts the default data (MonitorFactory.getRootMonitor()) in with the specified key (For example 'jetty-local')
|
void |
remove(String instanceKey)
Remove the monitoring data.
|
public Set<String> getInstances()
getInstances
in interface JamonDataPersister
public void put()
JamonDataPersister
put
in interface JamonDataPersister
public void put(String instanceKey)
JamonDataPersister
put
in interface JamonDataPersister
public MonitorComposite get(String key)
get
in interface JamonDataPersister
key
- identifier of jvm server instance being monitoredpublic void remove(String instanceKey)
JamonDataPersister
remove
in interface JamonDataPersister
public String getInstance()
JamonDataPersister
getInstance
in interface JamonDataPersister
public JamonDataPersister getJamonDataPersister()
Copyright © 2015. All rights reserved.