public class EvictCommand extends RemoveCommand implements LocalCommand
COMMAND_ID, notifier, valuekeyflags| Constructor and Description |
|---|
EvictCommand(Object key,
CacheNotifier notifier,
Set<Flag> flags) |
| Modifier and Type | Method and Description |
|---|---|
Object |
acceptVisitor(InvocationContext ctx,
Visitor visitor)
Accept a visitor, and return the result of accepting this visitor.
|
byte |
getCommandId()
Used by marshallers to convert this command into an id for streaming.
|
void |
notify(InvocationContext ctx,
Object value,
boolean isPre) |
Object |
perform(InvocationContext ctx)
Performs the primary function of the command.
|
protected boolean |
skipCommand(InvocationContext ctx) |
String |
toString() |
equals, getParameters, getValue, hashCode, ignoreCommandOnStatus, init, isConditional, isIgnorePreviousValue, isNonExistent, isReturnValueExpected, isSuccessful, setIgnorePreviousValue, setParameters, setValuecanBlock, getAffectedKeysgetKey, setKey, shouldInvokegetMetadata, getTopologyId, setMetadata, setTopologyIdgetFlags, hasFlag, setFlags, setFlagsclone, finalize, getClass, notify, notifyAll, wait, wait, waitshouldInvokegetTopologyId, setTopologyIdgetMetadata, setMetadatagetFlags, hasFlag, setFlags, setFlagsgetKeypublic EvictCommand(Object key, CacheNotifier notifier, Set<Flag> flags)
public Object acceptVisitor(InvocationContext ctx, Visitor visitor) throws Throwable
VisitableCommandacceptVisitor in interface VisitableCommandacceptVisitor in class RemoveCommandctx - invocation contextvisitor - visitor to acceptThrowable - in the event of problemspublic Object perform(InvocationContext ctx) throws Throwable
ReplicableCommandperform in interface ReplicableCommandperform in class RemoveCommandctx - invocation contextThrowable - in the event of problems.protected boolean skipCommand(InvocationContext ctx)
skipCommand in class RemoveCommandpublic void notify(InvocationContext ctx, Object value, boolean isPre)
notify in class RemoveCommandpublic byte getCommandId()
ReplicableCommandgetCommandId in interface ReplicableCommandgetCommandId in class RemoveCommandpublic String toString()
toString in class RemoveCommandCopyright © 2013 JBoss, a division of Red Hat. All rights reserved.