Package org.infinispan.commands.remote
Interface CacheRpcCommand
-
- All Superinterfaces:
ReplicableCommand
- All Known Subinterfaces:
CancellableCommand
,TotalOrderPrepareCommand
,TransactionBoundaryCommand
- All Known Implementing Classes:
AbstractTransactionBoundaryCommand
,BackupAckCommand
,BackupMultiKeyAckCommand
,BackupWriteCommand
,BaseClusteredReadCommand
,BaseRpcCommand
,BaseRpcInvokingCommand
,CancelCommand
,ClusteredGetAllCommand
,ClusteredGetCommand
,CommitCommand
,CompleteTransactionCommand
,CreateCacheCommand
,DistributedExecuteCommand
,ExceptionAckCommand
,GetInDoubtTransactionsCommand
,GetInDoubtTxInfoCommand
,InvalidateVersionsCommand
,LockControlCommand
,MultiEntriesFunctionalBackupWriteCommand
,MultiKeyFunctionalBackupWriteCommand
,PrepareCommand
,PutMapBackupWriteCommand
,RecoveryCommand
,RemoveCacheCommand
,RenewBiasCommand
,RetrieveLastAccessCommand
,RevokeBiasCommand
,RollbackCommand
,SingleKeyBackupWriteCommand
,SingleKeyFunctionalBackupWriteCommand
,SingleRpcCommand
,SingleXSiteRpcCommand
,StateRequestCommand
,StateResponseCommand
,StreamIteratorCloseCommand
,StreamIteratorNextCommand
,StreamIteratorRequestCommand
,StreamRequestCommand
,StreamResponseCommand
,StreamSegmentResponseCommand
,TotalOrderCommitCommand
,TotalOrderNonVersionedPrepareCommand
,TotalOrderRollbackCommand
,TotalOrderVersionedCommitCommand
,TotalOrderVersionedPrepareCommand
,TxCompletionNotificationCommand
,UpdateLastAccessCommand
,VersionedCommitCommand
,VersionedPrepareCommand
,XSiteAdminCommand
,XSiteReplicateCommand
,XSiteStatePushCommand
,XSiteStateTransferControlCommand
public interface CacheRpcCommand extends ReplicableCommand
TheRpcManager
only replicates commands wrapped in aCacheRpcCommand
.- Since:
- 4.0
- Author:
- Manik Surtani, Mircea.Markus@jboss.com
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ByteString
getCacheName()
Address
getOrigin()
Get the origin of the commandvoid
setOrigin(Address origin)
Set the origin of the command-
Methods inherited from interface org.infinispan.commands.ReplicableCommand
canBlock, getCommandId, invoke, invokeAsync, isReturnValueExpected, isSuccessful, perform, readFrom, writeTo
-
-
-
-
Method Detail
-
getCacheName
ByteString getCacheName()
- Returns:
- the name of the cache that produced this command. This will also be the name of the cache this command is intended for.
-
setOrigin
void setOrigin(Address origin)
Set the origin of the command- Specified by:
setOrigin
in interfaceReplicableCommand
- Parameters:
origin
- the sender'sAddress
-
getOrigin
Address getOrigin()
Get the origin of the command
-
-