public class CacheMgmtInterceptor extends JmxStatsCommandInterceptor
configuration, log, trace
Constructor and Description |
---|
CacheMgmtInterceptor() |
checkStatisticsUsed, getStatisticsEnabled, setStatisticsEnabled
getNext, handleDefault, hasNext, invokeNextInterceptor, setNext
visitClearDataCommand, visitCollection, visitCommitCommand, visitCreateNodeCommand, visitExistsNodeCommand, visitGetChildrenNamesCommand, visitGetDataMapCommand, visitGetKeysCommand, visitGetNodeCommand, visitGravitateDataCommand, visitInvalidateCommand, visitMoveCommand, visitOptimisticPrepareCommand, visitPrepareCommand, visitRemoveKeyCommand, visitRemoveNodeCommand, visitRollbackCommand
public void setDependencies(DataContainer dataContainer)
public Object visitEvictFqnCommand(InvocationContext ctx, EvictCommand command) throws Throwable
Visitor
visitEvictFqnCommand
in interface Visitor
visitEvictFqnCommand
in class AbstractVisitor
ctx
- invocation contextcommand
- command to visitThrowable
- in the event of problems.public Object visitGetKeyValueCommand(InvocationContext ctx, GetKeyValueCommand command) throws Throwable
Visitor
visitGetKeyValueCommand
in interface Visitor
visitGetKeyValueCommand
in class AbstractVisitor
ctx
- invocation contextcommand
- command to visitThrowable
- in the event of problems.public Object visitPutDataMapCommand(InvocationContext ctx, PutDataMapCommand command) throws Throwable
Visitor
visitPutDataMapCommand
in interface Visitor
visitPutDataMapCommand
in class AbstractVisitor
ctx
- invocation contextcommand
- command to visitThrowable
- in the event of problems.public Object visitPutForExternalReadCommand(InvocationContext ctx, PutForExternalReadCommand command) throws Throwable
Visitor
visitPutForExternalReadCommand
in interface Visitor
visitPutForExternalReadCommand
in class AbstractVisitor
ctx
- invocation contextcommand
- command to visitThrowable
- in the event of problems.public Object visitPutKeyValueCommand(InvocationContext ctx, PutKeyValueCommand command) throws Throwable
Visitor
visitPutKeyValueCommand
in interface Visitor
visitPutKeyValueCommand
in class AbstractVisitor
ctx
- invocation contextcommand
- command to visitThrowable
- in the event of problems.public long getHits()
public long getMisses()
public long getStores()
public long getEvictions()
public double getHitMissRatio()
public double getReadWriteRatio()
public long getAverageReadTime()
public long getAverageWriteTime()
public int getNumberOfAttributes()
public int getNumberOfNodes()
public long getElapsedTime()
public long getTimeSinceReset()
public Map<String,Object> dumpStatistics()
JmxStatsCommandInterceptor
dumpStatistics
in interface JmxStatisticsExposer
dumpStatistics
in class JmxStatsCommandInterceptor
public void resetStatistics()
JmxStatsCommandInterceptor
resetStatistics
in interface JmxStatisticsExposer
resetStatistics
in class JmxStatsCommandInterceptor
Copyright © 2012 JBoss, a division of Red Hat. All Rights Reserved.