public class HazelcastPersisterImp extends Object implements JamonDataPersister
Constructor and Description |
---|
HazelcastPersisterImp() |
HazelcastPersisterImp(com.hazelcast.core.HazelcastInstance hazelCast) |
Modifier and Type | Method and Description |
---|---|
MonitorComposite |
get(String key) |
String |
getInstance()
get this instance name.
|
Set<String> |
getInstances() |
void |
put()
Puts the default data (MonitorFactory.getRootMonitor()) in with the default key (For example 'local')
|
void |
put(String key)
Puts the default data (MonitorFactory.getRootMonitor()) in with the specified key (For example 'jetty-local')
|
void |
remove(String instanceKey)
Remove the monitoring data.
|
void |
shutDownHazelCast() |
public HazelcastPersisterImp()
public HazelcastPersisterImp(com.hazelcast.core.HazelcastInstance hazelCast)
public Set<String> getInstances()
getInstances
in interface JamonDataPersister
public void put()
JamonDataPersister
put
in interface JamonDataPersister
public void put(String key)
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 void shutDownHazelCast()
Copyright © 2015. All rights reserved.