public class LocalJamonFilePersister extends LocalJamonDataPersister
INSTANCE, instances
Constructor and Description |
---|
LocalJamonFilePersister() |
Modifier and Type | Method and Description |
---|---|
MonitorComposite |
get(String instanceKey) |
protected String |
getDirectoryName() |
protected String |
getFileName(String key) |
Set<String> |
getInstances()
Get instances by looking in directory for any saved files and also add local in memory instance
|
void |
put()
This is a noop.
|
void |
put(String instanceKey)
This is a noop.
|
void |
remove(String instanceKey)
Remove the monitoring data.
|
getInstance
public Set<String> getInstances()
getInstances
in interface JamonDataPersister
getInstances
in class LocalJamonDataPersister
public void put()
LocalJamonDataPersister
put
in interface JamonDataPersister
put
in class LocalJamonDataPersister
public void put(String instanceKey)
LocalJamonDataPersister
put
in interface JamonDataPersister
put
in class LocalJamonDataPersister
public MonitorComposite get(String instanceKey)
get
in interface JamonDataPersister
get
in class LocalJamonDataPersister
instanceKey
- identifier of jvm server instance being monitoredpublic void remove(String instanceKey)
JamonDataPersister
remove
in interface JamonDataPersister
remove
in class LocalJamonDataPersister
protected String getDirectoryName()
Copyright © 2015. All rights reserved.