@Deprecated public abstract class JmxStatsCommandInterceptor extends CommandInterceptor implements JmxStatisticsExposer
cacheConfiguration
Constructor and Description |
---|
JmxStatsCommandInterceptor()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
boolean |
getStatisticsEnabled()
Deprecated.
Returns whether an interceptor's statistics are being captured.
|
protected Object |
handleDefault(InvocationContext ctx,
VisitableCommand command)
Deprecated.
The default behaviour of the visitXXX methods, which is to ignore the call and pass the call up to the next
interceptor in the chain.
|
void |
resetStatistics()
Deprecated.
Resets an interceptor's cache statistics
|
void |
setStatisticsEnabled(boolean enabled)
Deprecated.
Enables an interceptor's cache statistics If true, the interceptor will capture statistics and make them available
through the mbean.
|
getCacheWithFlags, getLockAcquisitionTimeout, getLog, getNext, hasNext, hasSkipLocking, injectConfiguration, invokeNextInterceptor, setNext, setNextInterceptor, visitCommand
visitApplyDeltaCommand, visitClearCommand, visitCollection, visitCommitCommand, visitDistributedExecuteCommand, visitEntrySetCommand, visitEvictCommand, visitGetAllCommand, visitGetCacheEntryCommand, visitGetKeysInGroupCommand, visitGetKeyValueCommand, visitInvalidateCommand, visitInvalidateL1Command, visitKeySetCommand, visitLockControlCommand, visitPrepareCommand, visitPutKeyValueCommand, visitPutMapCommand, visitReadOnlyKeyCommand, visitReadOnlyManyCommand, visitReadWriteKeyCommand, visitReadWriteKeyValueCommand, visitReadWriteManyCommand, visitReadWriteManyEntriesCommand, visitRemoveCommand, visitReplaceCommand, visitRollbackCommand, visitSizeCommand, visitUnknownCommand, visitWriteOnlyKeyCommand, visitWriteOnlyKeyValueCommand, visitWriteOnlyManyCommand, visitWriteOnlyManyEntriesCommand
protected Object handleDefault(InvocationContext ctx, VisitableCommand command) throws Throwable
CommandInterceptor
handleDefault
in class CommandInterceptor
ctx
- invocation contextcommand
- command to invokeThrowable
- in the event of problemspublic boolean getStatisticsEnabled()
JmxStatisticsExposer
getStatisticsEnabled
in interface JmxStatisticsExposer
public void setStatisticsEnabled(boolean enabled)
JmxStatisticsExposer
setStatisticsEnabled
in interface JmxStatisticsExposer
enabled
- true if statistics should be capturedpublic void resetStatistics()
JmxStatisticsExposer
resetStatistics
in interface JmxStatisticsExposer
Copyright © 2018 JBoss, a division of Red Hat. All rights reserved.