Package org.infinispan.commands.irac
Class IracClearKeysCommand
java.lang.Object
org.infinispan.commands.remote.BaseRpcCommand
org.infinispan.xsite.XSiteReplicateCommand<T>
org.infinispan.commands.irac.IracUpdateKeyCommand<Void>
org.infinispan.commands.irac.IracClearKeysCommand
- All Implemented Interfaces:
CacheRpcCommand,ReplicableCommand
A clear request that is sent to the remote site by
IracManager.- Since:
- 11.0
- Author:
- Pedro Ruivo
-
Field Summary
FieldsFields inherited from class org.infinispan.xsite.XSiteReplicateCommand
originSiteFields inherited from class org.infinispan.commands.remote.BaseRpcCommand
cacheName, origin -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionexecuteOperation(BackupReceiver receiver) byteUsed by marshallers to convert this command into an id for streaming.booleanisClear()voidreadFrom(ObjectInput input) Reads this instance from the stream written byReplicableCommand.writeTo(ObjectOutput).toString()voidwriteTo(ObjectOutput output) Writes this instance to theObjectOutput.Methods inherited from class org.infinispan.commands.irac.IracUpdateKeyCommand
invokeAsync, isReturnValueExpected, performInLocalSiteMethods inherited from class org.infinispan.xsite.XSiteReplicateCommand
performInLocalSite, setOriginSiteMethods inherited from class org.infinispan.commands.remote.BaseRpcCommand
getCacheName, getOrigin, setOriginMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface org.infinispan.commands.ReplicableCommand
canBlock, invoke, invokeAsync, isSuccessful, logThrowable
-
Field Details
-
COMMAND_ID
public static final byte COMMAND_ID- See Also:
-
-
Constructor Details
-
IracClearKeysCommand
public IracClearKeysCommand() -
IracClearKeysCommand
-
-
Method Details
-
executeOperation
- Specified by:
executeOperationin classIracUpdateKeyCommand<Void>
-
getCommandId
public byte getCommandId()Description copied from interface:ReplicableCommandUsed by marshallers to convert this command into an id for streaming.- Specified by:
getCommandIdin interfaceReplicableCommand- Overrides:
getCommandIdin classXSiteReplicateCommand<Void>- Returns:
- the method id of this command. This is compatible with pre-2.2.0 MethodCall ids.
-
writeTo
Description copied from interface:ReplicableCommandWrites this instance to theObjectOutput.- Parameters:
output- the stream.
-
readFrom
Description copied from interface:ReplicableCommandReads this instance from the stream written byReplicableCommand.writeTo(ObjectOutput).- Parameters:
input- the stream to read.
-
isClear
public boolean isClear()- Overrides:
isClearin classIracUpdateKeyCommand<Void>
-
toString
- Overrides:
toStringin classBaseRpcCommand
-