public class PassivationInterceptor extends JmxStatsCommandInterceptor
| Modifier and Type | Field and Description |
|---|---|
protected CacheLoader |
loader |
configuration, log, trace| Constructor and Description |
|---|
PassivationInterceptor() |
| Modifier and Type | Method and Description |
|---|---|
Map<String,Object> |
dumpStatistics()
Returns a map of statistics.
|
long |
getPassivations() |
protected void |
passivate(InvocationContext ctx,
Fqn fqn) |
void |
resetStatistics()
Resets statistics gathered.
|
void |
setDependencies(Notifier notifier,
CacheLoaderManager loaderManager) |
Object |
visitEvictFqnCommand(InvocationContext ctx,
EvictCommand command)
Notifies the cache instance listeners that the evicted node is about to
be passivated and stores the evicted node and its attributes back to the
store using the CacheLoader.
|
checkStatisticsUsed, getStatisticsEnabled, setStatisticsEnabledgetNext, handleDefault, hasNext, invokeNextInterceptor, setNextvisitClearDataCommand, visitCollection, visitCommitCommand, visitCreateNodeCommand, visitExistsNodeCommand, visitGetChildrenNamesCommand, visitGetDataMapCommand, visitGetKeysCommand, visitGetKeyValueCommand, visitGetNodeCommand, visitGravitateDataCommand, visitInvalidateCommand, visitMoveCommand, visitOptimisticPrepareCommand, visitPrepareCommand, visitPutDataMapCommand, visitPutForExternalReadCommand, visitPutKeyValueCommand, visitRemoveKeyCommand, visitRemoveNodeCommand, visitRollbackCommandprotected CacheLoader loader
public void setDependencies(Notifier notifier, CacheLoaderManager loaderManager)
public Object visitEvictFqnCommand(InvocationContext ctx, EvictCommand command) throws Throwable
visitEvictFqnCommand in interface VisitorvisitEvictFqnCommand in class AbstractVisitorctx - invocation contextcommand - command to visitThrowable - in the event of problems.protected void passivate(InvocationContext ctx, Fqn fqn) throws Throwable
Throwablepublic void resetStatistics()
JmxStatsCommandInterceptorresetStatistics in interface JmxStatisticsExposerresetStatistics in class JmxStatsCommandInterceptorpublic Map<String,Object> dumpStatistics()
JmxStatsCommandInterceptordumpStatistics in interface JmxStatisticsExposerdumpStatistics in class JmxStatsCommandInterceptorpublic long getPassivations()
Copyright © 2012 JBoss, a division of Red Hat. All Rights Reserved.