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
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGet the origin of the commandvoidSet the origin of the commandtoString()Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface org.infinispan.commands.remote.CacheRpcCommand
invokeAsyncMethods 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:
getCacheNamein 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:CacheRpcCommandGet the origin of the command- Specified by:
getOriginin interfaceCacheRpcCommand
-
setOrigin
Description copied from interface:CacheRpcCommandSet the origin of the command- Specified by:
setOriginin interfaceCacheRpcCommand- Specified by:
setOriginin interfaceReplicableCommand- Parameters:
origin- the sender'sAddress
-