@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, visitCommandvisitApplyDeltaCommand, 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, visitWriteOnlyManyEntriesCommandprotected Object handleDefault(InvocationContext ctx, VisitableCommand command) throws Throwable
CommandInterceptorhandleDefault in class CommandInterceptorctx - invocation contextcommand - command to invokeThrowable - in the event of problemspublic boolean getStatisticsEnabled()
JmxStatisticsExposergetStatisticsEnabled in interface JmxStatisticsExposerpublic void setStatisticsEnabled(boolean enabled)
JmxStatisticsExposersetStatisticsEnabled in interface JmxStatisticsExposerenabled - true if statistics should be capturedpublic void resetStatistics()
JmxStatisticsExposerresetStatistics in interface JmxStatisticsExposerCopyright © 2017 JBoss, a division of Red Hat. All rights reserved.