public class CommandsFactoryImpl extends Object implements CommandsFactory
| Modifier and Type | Field and Description |
|---|---|
protected BuddyFqnTransformer |
buddyFqnTransformer |
protected BuddyManager |
buddyManager |
protected CacheSPI |
cacheSpi |
protected Configuration |
configuration |
protected DataContainer |
dataContainer |
protected InterceptorChain |
invoker |
protected Notifier |
notifier |
protected RPCManager |
rpcManager |
protected TransactionTable |
transactionTable |
protected TransactionManager |
txManager |
| Constructor and Description |
|---|
CommandsFactoryImpl() |
protected RPCManager rpcManager
protected DataContainer dataContainer
protected Notifier notifier
protected InterceptorChain invoker
protected BuddyManager buddyManager
protected TransactionTable transactionTable
protected CacheSPI cacheSpi
protected Configuration configuration
protected TransactionManager txManager
protected BuddyFqnTransformer buddyFqnTransformer
public void initialize(RPCManager rpc, DataContainer dataContainer, Notifier notifier, BuddyManager buddyManager, InterceptorChain invoker, TransactionTable transactionTable, CacheSPI cacheSpi, Configuration configuration, TransactionManager txManager, BuddyFqnTransformer buddyFqnTransformer)
public StateTransferControlCommand buildStateTransferControlCommand(boolean enabled)
buildStateTransferControlCommand in interface CommandsFactorypublic PutDataMapCommand buildPutDataMapCommand(GlobalTransaction gtx, Fqn fqn, Map data)
buildPutDataMapCommand in interface CommandsFactorypublic PutKeyValueCommand buildPutKeyValueCommand(GlobalTransaction gtx, Fqn fqn, Object key, Object value)
buildPutKeyValueCommand in interface CommandsFactorypublic PutForExternalReadCommand buildPutForExternalReadCommand(GlobalTransaction gtx, Fqn fqn, Object key, Object value)
buildPutForExternalReadCommand in interface CommandsFactorypublic ReplicateCommand buildReplicateCommand(ReplicableCommand command)
buildReplicateCommand in interface CommandsFactorypublic ReplicateCommand buildReplicateCommand(List<ReplicableCommand> modifications)
buildReplicateCommand in interface CommandsFactorypublic PrepareCommand buildPrepareCommand(GlobalTransaction gtx, WriteCommand command, boolean onePhaseCommit)
buildPrepareCommand in interface CommandsFactorypublic PrepareCommand buildPrepareCommand(GlobalTransaction gtx, List<WriteCommand> modifications, org.jgroups.Address address, boolean onePhaseCommit)
buildPrepareCommand in interface CommandsFactorypublic CommitCommand buildCommitCommand(GlobalTransaction gtx)
buildCommitCommand in interface CommandsFactorypublic DataGravitationCleanupCommand buildDataGravitationCleanupCommand(Fqn primaryFqn, Fqn backupFqn)
buildDataGravitationCleanupCommand in interface CommandsFactorypublic GravitateDataCommand buildGravitateDataCommand(Fqn fqn, Boolean searchSubtrees)
buildGravitateDataCommand in interface CommandsFactorypublic EvictCommand buildEvictFqnCommand(Fqn fqn)
buildEvictFqnCommand in interface CommandsFactorypublic InvalidateCommand buildInvalidateCommand(Fqn fqn)
buildInvalidateCommand in interface CommandsFactorypublic GetDataMapCommand buildGetDataMapCommand(Fqn fqn)
buildGetDataMapCommand in interface CommandsFactorypublic ExistsCommand buildExistsNodeCommand(Fqn fqn)
buildExistsNodeCommand in interface CommandsFactorypublic GetKeyValueCommand buildGetKeyValueCommand(Fqn fqn, Object key, boolean sendNodeEvent)
buildGetKeyValueCommand in interface CommandsFactorypublic GetNodeCommand buildGetNodeCommand(Fqn fqn)
buildGetNodeCommand in interface CommandsFactorypublic GetKeysCommand buildGetKeysCommand(Fqn fqn)
buildGetKeysCommand in interface CommandsFactorypublic GetChildrenNamesCommand buildGetChildrenNamesCommand(Fqn fqn)
buildGetChildrenNamesCommand in interface CommandsFactorypublic RollbackCommand buildRollbackCommand(GlobalTransaction gtx)
buildRollbackCommand in interface CommandsFactorypublic OptimisticPrepareCommand buildOptimisticPrepareCommand(GlobalTransaction gtx, List<WriteCommand> modifications, org.jgroups.Address address, boolean onePhaseCommit)
buildOptimisticPrepareCommand in interface CommandsFactorypublic AnnounceBuddyPoolNameCommand buildAnnounceBuddyPoolNameCommand(org.jgroups.Address address, String buddyPoolName)
buildAnnounceBuddyPoolNameCommand in interface CommandsFactorypublic RemoveFromBuddyGroupCommand buildRemoveFromBuddyGroupCommand(String groupName)
buildRemoveFromBuddyGroupCommand in interface CommandsFactorypublic AssignToBuddyGroupCommand buildAssignToBuddyGroupCommand(BuddyGroup group, Map<Fqn,byte[]> state)
buildAssignToBuddyGroupCommand in interface CommandsFactorypublic ClusteredGetCommand buildClusteredGetCommand(Boolean searchBackupSubtrees, DataCommand dataCommand)
buildClusteredGetCommand in interface CommandsFactorypublic RemoveNodeCommand buildRemoveNodeCommand(GlobalTransaction gtx, Fqn fqn)
buildRemoveNodeCommand in interface CommandsFactorypublic ClearDataCommand buildClearDataCommand(GlobalTransaction gtx, Fqn fqn)
buildClearDataCommand in interface CommandsFactorypublic RemoveKeyCommand buildRemoveKeyCommand(GlobalTransaction tx, Fqn fqn, Object key)
buildRemoveKeyCommand in interface CommandsFactorypublic MoveCommand buildMoveCommand(Fqn from, Fqn to)
buildMoveCommand in interface CommandsFactorypublic CreateNodeCommand buildCreateNodeCommand(Fqn fqn)
buildCreateNodeCommand in interface CommandsFactorypublic ReplicableCommand fromStream(int id, Object[] parameters)
CommandsFactoryfromStream in interface CommandsFactoryid - id of the command to buildparameters - parameters attached to the commandCopyright © 2012 JBoss, a division of Red Hat. All Rights Reserved.