public class GbjJmxCacheStats extends Object implements DynamicMBean
Modifier and Type | Field and Description |
---|---|
GbjJmxCacheStatsMonitor |
monitor
The GbjJmxCacheStatsMonitor process updating these cache stats
|
GbjSession |
session
The GS session to be used for executing control commands
|
GbjCacheStats |
stats
The cache stats wrappered by this instance
|
Constructor and Description |
---|
GbjJmxCacheStats()
Base constructor needed for JMX protocol
|
GbjJmxCacheStats(GbjCacheStats s,
GbjSession ses)
Create a new GbjJmxCacheStats object on a particular set of
GbjCacheStats from a given GS session
|
Modifier and Type | Method and Description |
---|---|
String |
enableHypericTrace()
JMX operation to enable tracing of these process-level cache stats
from Hyperic
|
Object |
getAttribute(String attribute)
Support for JMX DynamicMBean interface
|
AttributeList |
getAttributes(String[] attributes)
Support for JMX DynamicMBean interface
|
MBeanInfo |
getMBeanInfo()
Support for JMX DynamicMBean interface
|
Object |
invoke(String actionName,
Object[] params,
String[] signature)
Support for JMX DynamicMBean interface
|
String |
kill()
JMX operation to kill the process
associated with this GbjJmxCacheStat using kill -9
|
void |
setAttribute(Attribute attribute)
Support for JMX DynamicMBean interface
|
AttributeList |
setAttributes(AttributeList attributes)
Support for JMX DynamicMBean interface
|
String |
stop()
JMX operation to stop the session
associated with this GbjJmxCacheStat
|
public GbjCacheStats stats
public GbjSession session
public GbjJmxCacheStatsMonitor monitor
public GbjJmxCacheStats()
public GbjJmxCacheStats(GbjCacheStats s, GbjSession ses)
public String stop()
public String kill()
public String enableHypericTrace()
public Object getAttribute(String attribute) throws AttributeNotFoundException
getAttribute
in interface DynamicMBean
AttributeNotFoundException
public AttributeList getAttributes(String[] attributes)
getAttributes
in interface DynamicMBean
public MBeanInfo getMBeanInfo()
getMBeanInfo
in interface DynamicMBean
public Object invoke(String actionName, Object[] params, String[] signature) throws UnsupportedOperationException, ReflectionException
invoke
in interface DynamicMBean
UnsupportedOperationException
ReflectionException
public void setAttribute(Attribute attribute) throws AttributeNotFoundException
setAttribute
in interface DynamicMBean
AttributeNotFoundException
public AttributeList setAttributes(AttributeList attributes)
setAttributes
in interface DynamicMBean