@Deprecated public class LegacyActivationInterceptor extends LegacyCacheLoaderInterceptor
Modifier and Type | Field and Description |
---|---|
protected static Object |
NULL
Deprecated.
|
protected ConcurrentHashMap |
transactions
Deprecated.
List
|
protected TransactionManager |
txMgr
Deprecated.
|
buddyFqnTransformer, dataContainer, isActivation, loader, notifier, txTable, useCacheStore, usingVersionedInvalidation
configuration, log, trace
Constructor and Description |
---|
LegacyActivationInterceptor()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
Map<String,Object> |
dumpStatistics()
Deprecated.
Returns a map of statistics.
|
long |
getActivations()
Deprecated.
|
void |
injectTransactionManager(TransactionManager txMgr)
Deprecated.
|
protected void |
recordNodeLoaded(InvocationContext ctx,
Fqn fqn)
Deprecated.
|
void |
resetStatistics()
Deprecated.
Resets statistics gathered.
|
Object |
visitClearDataCommand(InvocationContext ctx,
ClearDataCommand command)
Deprecated.
Visits a RemoveDataCommand.
|
Object |
visitGetChildrenNamesCommand(InvocationContext ctx,
GetChildrenNamesCommand command)
Deprecated.
Visits a GetChildrenNamesCommand.
|
Object |
visitGetKeysCommand(InvocationContext ctx,
GetKeysCommand command)
Deprecated.
Visits a GetKeysCommand.
|
Object |
visitGetKeyValueCommand(InvocationContext ctx,
GetKeyValueCommand command)
Deprecated.
Visits a GetKeyValueCommand.
|
Object |
visitGetNodeCommand(InvocationContext ctx,
GetNodeCommand command)
Deprecated.
Visits a GetNodeCommand.
|
Object |
visitMoveCommand(InvocationContext ctx,
MoveCommand command)
Deprecated.
Visits a MoveCommand.
|
Object |
visitPutDataMapCommand(InvocationContext ctx,
PutDataMapCommand command)
Deprecated.
Visits a PutDataMapCommand.
|
Object |
visitPutForExternalReadCommand(InvocationContext ctx,
PutForExternalReadCommand command)
Deprecated.
Visits a PutForExternalReadCommand.
|
Object |
visitPutKeyValueCommand(InvocationContext ctx,
PutKeyValueCommand command)
Deprecated.
Visits a PutKeyValueCommand.
|
Object |
visitRemoveKeyCommand(InvocationContext ctx,
RemoveKeyCommand command)
Deprecated.
Visits a RemoveKeyCommand.
|
Object |
visitRemoveNodeCommand(InvocationContext ctx,
RemoveNodeCommand command)
Deprecated.
Visits a RemoveNodeCommand.
|
getCacheLoaderLoads, getCacheLoaderMisses, injectDependencies, lock, startInterceptor, visitGetDataMapCommand, visitRollbackCommand
checkStatisticsUsed, getStatisticsEnabled, setStatisticsEnabled
getNext, handleDefault, hasNext, invokeNextInterceptor, setNext
visitCollection, visitCommitCommand, visitCreateNodeCommand, visitEvictFqnCommand, visitExistsNodeCommand, visitGravitateDataCommand, visitInvalidateCommand, visitOptimisticPrepareCommand, visitPrepareCommand
protected TransactionManager txMgr
protected ConcurrentHashMap transactions
protected static final Object NULL
public void injectTransactionManager(TransactionManager txMgr)
public Object visitClearDataCommand(InvocationContext ctx, ClearDataCommand command) throws Throwable
Visitor
visitClearDataCommand
in interface Visitor
visitClearDataCommand
in class LegacyCacheLoaderInterceptor
ctx
- invocation contextcommand
- command to visitThrowable
- in the event of problems.public Object visitRemoveNodeCommand(InvocationContext ctx, RemoveNodeCommand command) throws Throwable
Visitor
visitRemoveNodeCommand
in interface Visitor
visitRemoveNodeCommand
in class LegacyCacheLoaderInterceptor
ctx
- invocation contextcommand
- command to visitThrowable
- in the event of problems.public Object visitGetChildrenNamesCommand(InvocationContext ctx, GetChildrenNamesCommand command) throws Throwable
Visitor
visitGetChildrenNamesCommand
in interface Visitor
visitGetChildrenNamesCommand
in class LegacyCacheLoaderInterceptor
ctx
- invocation contextcommand
- command to visitThrowable
- in the event of problems.public Object visitGetKeysCommand(InvocationContext ctx, GetKeysCommand command) throws Throwable
Visitor
visitGetKeysCommand
in interface Visitor
visitGetKeysCommand
in class LegacyCacheLoaderInterceptor
ctx
- invocation contextcommand
- command to visitThrowable
- in the event of problems.public Object visitGetNodeCommand(InvocationContext ctx, GetNodeCommand command) throws Throwable
Visitor
visitGetNodeCommand
in interface Visitor
visitGetNodeCommand
in class LegacyCacheLoaderInterceptor
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 LegacyCacheLoaderInterceptor
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 LegacyCacheLoaderInterceptor
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 LegacyCacheLoaderInterceptor
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 LegacyCacheLoaderInterceptor
ctx
- invocation contextcommand
- command to visitThrowable
- in the event of problems.public Object visitRemoveKeyCommand(InvocationContext ctx, RemoveKeyCommand command) throws Throwable
Visitor
visitRemoveKeyCommand
in interface Visitor
visitRemoveKeyCommand
in class LegacyCacheLoaderInterceptor
ctx
- invocation contextcommand
- command to visitThrowable
- in the event of problems.public Object visitMoveCommand(InvocationContext ctx, MoveCommand command) throws Throwable
Visitor
visitMoveCommand
in interface Visitor
visitMoveCommand
in class LegacyCacheLoaderInterceptor
ctx
- invocation contextcommand
- command to visitThrowable
- in the event of problems.public long getActivations()
public void resetStatistics()
JmxStatsCommandInterceptor
resetStatistics
in interface JmxStatisticsExposer
resetStatistics
in class LegacyCacheLoaderInterceptor
public Map<String,Object> dumpStatistics()
JmxStatsCommandInterceptor
dumpStatistics
in interface JmxStatisticsExposer
dumpStatistics
in class LegacyCacheLoaderInterceptor
protected void recordNodeLoaded(InvocationContext ctx, Fqn fqn)
recordNodeLoaded
in class LegacyCacheLoaderInterceptor
Copyright © 2012 JBoss, a division of Red Hat. All Rights Reserved.