|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.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()
|
|
| Method Summary | |
|---|---|
protected Region |
getRegion(Fqn fqn)
|
void |
initialize(DataContainer dataContainer)
|
java.lang.Object |
visitClearDataCommand(InvocationContext ctx,
ClearDataCommand command)
Visits a RemoveDataCommand. |
java.lang.Object |
visitEvictFqnCommand(InvocationContext ctx,
EvictCommand command)
Visits a EvictCommand. |
java.lang.Object |
visitGetDataMapCommand(InvocationContext ctx,
GetDataMapCommand command)
Visits a GetDataMapCommand. |
java.lang.Object |
visitGetKeyValueCommand(InvocationContext ctx,
GetKeyValueCommand command)
Visits a GetKeyValueCommand. |
java.lang.Object |
visitGetNodeCommand(InvocationContext ctx,
GetNodeCommand command)
Visits a GetNodeCommand. |
java.lang.Object |
visitPutDataMapCommand(InvocationContext ctx,
PutDataMapCommand command)
Visits a PutDataMapCommand. |
java.lang.Object |
visitPutForExternalReadCommand(InvocationContext ctx,
PutForExternalReadCommand command)
Visits a PutForExternalReadCommand. |
java.lang.Object |
visitPutKeyValueCommand(InvocationContext ctx,
PutKeyValueCommand command)
Visits a PutKeyValueCommand. |
java.lang.Object |
visitRemoveKeyCommand(InvocationContext ctx,
RemoveKeyCommand command)
Visits a RemoveKeyCommand. |
java.lang.Object |
visitRemoveNodeCommand(InvocationContext ctx,
RemoveNodeCommand command)
Visits a RemoveNodeCommand. |
| 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 java.lang.Object visitEvictFqnCommand(InvocationContext ctx,
EvictCommand command)
throws java.lang.Throwable
Visitor
visitEvictFqnCommand in interface VisitorvisitEvictFqnCommand in class AbstractVisitorctx - invocation contextcommand - command to visit
java.lang.Throwable - in the event of problems.
public java.lang.Object visitPutForExternalReadCommand(InvocationContext ctx,
PutForExternalReadCommand command)
throws java.lang.Throwable
Visitor
visitPutForExternalReadCommand in interface VisitorvisitPutForExternalReadCommand in class AbstractVisitorctx - invocation contextcommand - command to visit
java.lang.Throwable - in the event of problems.
public java.lang.Object visitPutKeyValueCommand(InvocationContext ctx,
PutKeyValueCommand command)
throws java.lang.Throwable
Visitor
visitPutKeyValueCommand in interface VisitorvisitPutKeyValueCommand in class AbstractVisitorctx - invocation contextcommand - command to visit
java.lang.Throwable - in the event of problems.
public java.lang.Object visitPutDataMapCommand(InvocationContext ctx,
PutDataMapCommand command)
throws java.lang.Throwable
Visitor
visitPutDataMapCommand in interface VisitorvisitPutDataMapCommand in class AbstractVisitorctx - invocation contextcommand - command to visit
java.lang.Throwable - in the event of problems.
public java.lang.Object visitRemoveKeyCommand(InvocationContext ctx,
RemoveKeyCommand command)
throws java.lang.Throwable
Visitor
visitRemoveKeyCommand in interface VisitorvisitRemoveKeyCommand in class AbstractVisitorctx - invocation contextcommand - command to visit
java.lang.Throwable - in the event of problems.
public java.lang.Object visitGetNodeCommand(InvocationContext ctx,
GetNodeCommand command)
throws java.lang.Throwable
Visitor
visitGetNodeCommand in interface VisitorvisitGetNodeCommand in class AbstractVisitorctx - invocation contextcommand - command to visit
java.lang.Throwable - in the event of problems.
public java.lang.Object visitGetDataMapCommand(InvocationContext ctx,
GetDataMapCommand command)
throws java.lang.Throwable
Visitor
visitGetDataMapCommand in interface VisitorvisitGetDataMapCommand in class AbstractVisitorctx - invocation contextcommand - command to visit
java.lang.Throwable - in the event of problems.
public java.lang.Object visitGetKeyValueCommand(InvocationContext ctx,
GetKeyValueCommand command)
throws java.lang.Throwable
Visitor
visitGetKeyValueCommand in interface VisitorvisitGetKeyValueCommand in class AbstractVisitorctx - invocation contextcommand - command to visit
java.lang.Throwable - in the event of problems.
public java.lang.Object visitRemoveNodeCommand(InvocationContext ctx,
RemoveNodeCommand command)
throws java.lang.Throwable
Visitor
visitRemoveNodeCommand in interface VisitorvisitRemoveNodeCommand in class AbstractVisitorctx - invocation contextcommand - command to visit
java.lang.Throwable - in the event of problems.
public java.lang.Object visitClearDataCommand(InvocationContext ctx,
ClearDataCommand command)
throws java.lang.Throwable
Visitor
visitClearDataCommand in interface VisitorvisitClearDataCommand in class AbstractVisitorctx - invocation contextcommand - command to visit
java.lang.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 | |||||||||