|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.jboss.cache.commands.AbstractVisitor org.jboss.cache.interceptors.base.CommandInterceptor org.jboss.cache.interceptors.base.JmxStatsCommandInterceptor org.jboss.cache.interceptors.LegacyCacheLoaderInterceptor
@Deprecated public class LegacyCacheLoaderInterceptor
Loads nodes that don't exist at the time of the call into memory from the CacheLoader
Field Summary | |
---|---|
protected DataContainer |
dataContainer
Deprecated. |
protected boolean |
isActivation
Deprecated. |
protected CacheLoader |
loader
Deprecated. |
protected Notifier |
notifier
Deprecated. |
protected TransactionTable |
txTable
Deprecated. |
protected boolean |
useCacheStore
Deprecated. True if CacheStoreInterceptor is in place. |
protected boolean |
usingVersionedInvalidation
Deprecated. |
Fields inherited from class org.jboss.cache.interceptors.base.CommandInterceptor |
---|
configuration, log, trace |
Constructor Summary | |
---|---|
LegacyCacheLoaderInterceptor()
Deprecated. |
Method Summary | |
---|---|
Map<String,Object> |
dumpStatistics()
Deprecated. Returns a map of statistics. |
long |
getCacheLoaderLoads()
Deprecated. |
long |
getCacheLoaderMisses()
Deprecated. |
protected void |
injectDependencies(TransactionTable txTable,
CacheLoaderManager clm,
Configuration configuration,
DataContainer dataContainer,
LockManager lockManager,
Notifier notifier)
Deprecated. |
protected void |
lock(Fqn fqn,
LockType lockType,
boolean recursive,
InvocationContext ctx)
Deprecated. |
protected void |
recordNodeLoaded(InvocationContext ctx,
Fqn fqn)
Deprecated. |
void |
resetStatistics()
Deprecated. Resets statistics gathered. |
protected void |
startInterceptor()
Deprecated. |
Object |
visitClearDataCommand(InvocationContext ctx,
ClearDataCommand command)
Deprecated. Visits a RemoveDataCommand. |
Object |
visitGetChildrenNamesCommand(InvocationContext ctx,
GetChildrenNamesCommand command)
Deprecated. Visits a GetChildrenNamesCommand. |
Object |
visitGetDataMapCommand(InvocationContext ctx,
GetDataMapCommand command)
Deprecated. Visits a GetDataMapCommand. |
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. |
Object |
visitRollbackCommand(InvocationContext ctx,
RollbackCommand command)
Deprecated. Visits a RollbackCommand. |
Methods inherited from class org.jboss.cache.interceptors.base.JmxStatsCommandInterceptor |
---|
checkStatisticsUsed, getStatisticsEnabled, setStatisticsEnabled |
Methods inherited from class org.jboss.cache.interceptors.base.CommandInterceptor |
---|
getNext, handleDefault, hasNext, invokeNextInterceptor, setNext |
Methods inherited from class org.jboss.cache.commands.AbstractVisitor |
---|
visitCollection, visitCommitCommand, visitCreateNodeCommand, visitEvictFqnCommand, visitExistsNodeCommand, visitGravitateDataCommand, visitInvalidateCommand, visitOptimisticPrepareCommand, visitPrepareCommand |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected TransactionTable txTable
protected CacheLoader loader
protected DataContainer dataContainer
protected Notifier notifier
protected boolean isActivation
protected boolean usingVersionedInvalidation
protected boolean useCacheStore
Constructor Detail |
---|
public LegacyCacheLoaderInterceptor()
Method Detail |
---|
protected void injectDependencies(TransactionTable txTable, CacheLoaderManager clm, Configuration configuration, DataContainer dataContainer, LockManager lockManager, Notifier notifier)
protected void startInterceptor()
public Object visitPutDataMapCommand(InvocationContext ctx, PutDataMapCommand command) throws Throwable
Visitor
visitPutDataMapCommand
in interface Visitor
visitPutDataMapCommand
in class AbstractVisitor
ctx
- invocation contextcommand
- command to visit
Throwable
- 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 visit
Throwable
- 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 visit
Throwable
- in the event of problems.public Object visitMoveCommand(InvocationContext ctx, MoveCommand command) throws Throwable
Visitor
visitMoveCommand
in interface Visitor
visitMoveCommand
in class AbstractVisitor
ctx
- invocation contextcommand
- command to visit
Throwable
- 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 visit
Throwable
- in the event of problems.public Object visitGetNodeCommand(InvocationContext ctx, GetNodeCommand command) throws Throwable
Visitor
visitGetNodeCommand
in interface Visitor
visitGetNodeCommand
in class AbstractVisitor
ctx
- invocation contextcommand
- command to visit
Throwable
- in the event of problems.public Object visitGetChildrenNamesCommand(InvocationContext ctx, GetChildrenNamesCommand command) throws Throwable
Visitor
visitGetChildrenNamesCommand
in interface Visitor
visitGetChildrenNamesCommand
in class AbstractVisitor
ctx
- invocation contextcommand
- command to visit
Throwable
- in the event of problems.public Object visitGetKeysCommand(InvocationContext ctx, GetKeysCommand command) throws Throwable
Visitor
visitGetKeysCommand
in interface Visitor
visitGetKeysCommand
in class AbstractVisitor
ctx
- invocation contextcommand
- command to visit
Throwable
- in the event of problems.public Object visitGetDataMapCommand(InvocationContext ctx, GetDataMapCommand command) throws Throwable
Visitor
visitGetDataMapCommand
in interface Visitor
visitGetDataMapCommand
in class AbstractVisitor
ctx
- invocation contextcommand
- command to visit
Throwable
- in the event of problems.public Object visitRollbackCommand(InvocationContext ctx, RollbackCommand command) throws Throwable
Visitor
visitRollbackCommand
in interface Visitor
visitRollbackCommand
in class AbstractVisitor
ctx
- invocation contextcommand
- command to visit
Throwable
- in the event of problems.public Object visitRemoveNodeCommand(InvocationContext ctx, RemoveNodeCommand command) throws Throwable
Visitor
visitRemoveNodeCommand
in interface Visitor
visitRemoveNodeCommand
in class AbstractVisitor
ctx
- invocation contextcommand
- command to visit
Throwable
- in the event of problems.public Object visitRemoveKeyCommand(InvocationContext ctx, RemoveKeyCommand command) throws Throwable
Visitor
visitRemoveKeyCommand
in interface Visitor
visitRemoveKeyCommand
in class AbstractVisitor
ctx
- invocation contextcommand
- command to visit
Throwable
- in the event of problems.public Object visitClearDataCommand(InvocationContext ctx, ClearDataCommand command) throws Throwable
Visitor
visitClearDataCommand
in interface Visitor
visitClearDataCommand
in class AbstractVisitor
ctx
- invocation contextcommand
- command to visit
Throwable
- in the event of problems.protected void lock(Fqn fqn, LockType lockType, boolean recursive, InvocationContext ctx) throws Throwable
Throwable
public long getCacheLoaderLoads()
public long getCacheLoaderMisses()
public void resetStatistics()
JmxStatsCommandInterceptor
resetStatistics
in interface JmxStatisticsExposer
resetStatistics
in class JmxStatsCommandInterceptor
public Map<String,Object> dumpStatistics()
JmxStatsCommandInterceptor
dumpStatistics
in interface JmxStatisticsExposer
dumpStatistics
in class JmxStatsCommandInterceptor
protected void recordNodeLoaded(InvocationContext ctx, Fqn fqn)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |