Package org.infinispan.commands.remote
Class BaseRpcCommand
java.lang.Object
org.infinispan.commands.remote.BaseRpcCommand
- All Implemented Interfaces:
CacheRpcCommand
,ReplicableCommand
- Direct Known Subclasses:
BackupAckCommand
,BackupWriteCommand
,BaseClusteredReadCommand
,CancelPublisherCommand
,CompleteTransactionCommand
,ConflictResolutionStartCommand
,GetInDoubtTransactionsCommand
,GetInDoubtTxInfoCommand
,InitialPublisherCommand
,InvalidateVersionsCommand
,IracRequestStateCommand
,MultiClusterEventCommand
,NextPublisherCommand
,RecoveryCommand
,ReductionPublisherRequestCommand
,RenewBiasCommand
,RevokeBiasCommand
,ScatteredStateConfirmRevokedCommand
,ScatteredStateGetKeysCommand
,SingleRpcCommand
,SizeCommand
,StateResponseCommand
,StateTransferCancelCommand
,StateTransferGetListenersCommand
,StateTransferGetTransactionsCommand
,StateTransferStartCommand
,TxCompletionNotificationCommand
,XSiteAmendOfflineStatusCommand
,XSiteAutoTransferStatusCommand
,XSiteBringOnlineCommand
,XSiteOfflineStatusCommand
,XSiteReplicateCommand
,XSiteSetStateTransferModeCommand
,XSiteStateTransferCancelSendCommand
,XSiteStateTransferClearStatusCommand
,XSiteStateTransferFinishSendCommand
,XSiteStateTransferRestartSendingCommand
,XSiteStateTransferStartSendCommand
,XSiteStateTransferStatusRequestCommand
,XSiteStatusCommand
,XSiteTakeOfflineCommand
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet the origin of the commandvoid
Set the origin of the commandtoString()
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface org.infinispan.commands.remote.CacheRpcCommand
invokeAsync
Methods inherited from interface org.infinispan.commands.ReplicableCommand
canBlock, getCommandId, invoke, invokeAsync, isReturnValueExpected, isSuccessful, logThrowable, readFrom, writeTo
-
Field Details
-
cacheName
-
origin
-
-
Constructor Details
-
BaseRpcCommand
-
-
Method Details
-
getCacheName
- Specified by:
getCacheName
in interfaceCacheRpcCommand
- Returns:
- the name of the cache that produced this command. This will also be the name of the cache this command is intended for.
-
toString
-
getOrigin
Description copied from interface:CacheRpcCommand
Get the origin of the command- Specified by:
getOrigin
in interfaceCacheRpcCommand
-
setOrigin
Description copied from interface:CacheRpcCommand
Set the origin of the command- Specified by:
setOrigin
in interfaceCacheRpcCommand
- Specified by:
setOrigin
in interfaceReplicableCommand
- Parameters:
origin
- the sender'sAddress
-