org.infinispan.commands.remote
Interface CacheRpcCommand

All Superinterfaces:
ReplicableCommand
All Known Subinterfaces:
TransactionBoundaryCommand
All Known Implementing Classes:
AbstractTransactionBoundaryCommand, BaseRpcCommand, BaseRpcInvokingCommand, CacheViewControlCommand, ClusteredGetCommand, ClusteredQueryCommand, CommitCommand, CompleteTransactionCommand, GetInDoubtTransactionsCommand, GetInDoubtTxInfoCommand, LockControlCommand, MapReduceCommand, MultipleRpcCommand, PrepareCommand, RecoveryCommand, RemoveCacheCommand, RollbackCommand, SingleRpcCommand, StateTransferControlCommand, TxCompletionNotificationCommand, VersionedCommitCommand, VersionedPrepareCommand

public interface CacheRpcCommand
extends ReplicableCommand

The RpcManager only replicates commands wrapped in a CacheRpcCommand.

Since:
4.0
Author:
Manik Surtani, Mircea.Markus@jboss.com

Method Summary
 String getCacheName()
           
 Address getOrigin()
          Get the origin of the command
 void setOrigin(Address origin)
          Set the origin of the command
 
Methods inherited from interface org.infinispan.commands.ReplicableCommand
getCommandId, getParameters, isReturnValueExpected, perform, setParameters
 

Method Detail

getCacheName

String 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

Parameters:
origin -

getOrigin

Address getOrigin()
Get the origin of the command

Returns:

-->

Copyright © 2012 JBoss, a division of Red Hat. All Rights Reserved.