public class GbjJmxSystemStats extends GbjJmxCacheStats
The actual statistics included is user-configurable via the GbjJmxSystemStats[Template].dat file.
monitor, session, stats
Constructor and Description |
---|
GbjJmxSystemStats(GbjCacheStats s,
GbjCacheStats shrpc,
GbjSession session)
GbjJmxSystemStats constructor
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
execute(java.lang.String command)
JMX operation to execute a GS Smalltalk command.
|
java.lang.Object |
invoke(java.lang.String actionName,
java.lang.Object[] params,
java.lang.String[] signature)
JMX DynamicMBean protocol for invoking an action.
|
java.lang.String |
shutdown()
JMX operation to shutdown the stone.
|
enableHypericTrace, getAttribute, getAttributes, getMBeanInfo, kill, setAttribute, setAttributes, stop
public GbjJmxSystemStats(GbjCacheStats s, GbjCacheStats shrpc, GbjSession session)
s
- GbjCacheStatsshrpc
- GbjCacheStats for shared page cache monitorsession
- GbjSessionpublic java.lang.String execute(java.lang.String command)
command
- String command to executepublic java.lang.String shutdown()
public java.lang.Object invoke(java.lang.String actionName, java.lang.Object[] params, java.lang.String[] signature) throws java.lang.UnsupportedOperationException, javax.management.ReflectionException
invoke
in interface javax.management.DynamicMBean
invoke
in class GbjJmxCacheStats
actionName
- name of action to performparams
- array of parameters for actionsignature
- array of signatures for actionjava.lang.UnsupportedOperationException
- ReflectionException
thrown on errorsjavax.management.ReflectionException