|
||||||||||
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.EvictionInterceptor
public class EvictionInterceptor
Eviction Interceptor.
This interceptor is used to handle eviction events.
Field Summary | |
---|---|
protected RegionManager |
regionManager
|
Fields inherited from class org.jboss.cache.interceptors.base.CommandInterceptor |
---|
configuration, log, trace |
Constructor Summary | |
---|---|
EvictionInterceptor()
|
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, visitExistsNodeCommand, visitGetChildrenNamesCommand, visitGetKeysCommand, visitGravitateDataCommand, visitInvalidateCommand, visitMoveCommand, visitOptimisticPrepareCommand, visitPrepareCommand, visitRollbackCommand |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected RegionManager regionManager
Constructor Detail |
---|
public EvictionInterceptor()
Method Detail |
---|
public void initialize(DataContainer dataContainer)
public Object visitEvictFqnCommand(InvocationContext ctx, EvictCommand command) throws Throwable
Visitor
visitEvictFqnCommand
in interface Visitor
visitEvictFqnCommand
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 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 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 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 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 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 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 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 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 Region getRegion(Fqn fqn)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |