Package org.infinispan.commands
Class CommandsFactoryImpl
java.lang.Object
org.infinispan.commands.CommandsFactoryImpl
- All Implemented Interfaces:
CommandsFactory
- Since:
- 4.0
- Author:
- Mircea.Markus@jboss.com, Galder ZamarreƱo, Sanne Grinovero <sanne@hibernate.org> (C) 2011 Red Hat Inc.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.infinispan.commands.write.BackupAckCommandbuildBackupAckCommand(long id, int topologyId) org.infinispan.commands.write.BackupMultiKeyAckCommandbuildBackupMultiKeyAckCommand(long id, int segment, int topologyId) org.infinispan.commands.triangle.BackupNoopCommandorg.infinispan.reactive.publisher.impl.commands.batch.CancelPublisherCommandbuildCancelPublisherCommand(String requestId) org.infinispan.commands.remote.CheckTransactionRpcCommandbuildCheckTransactionRpcCommand(Collection<GlobalTransaction> globalTransactions) org.infinispan.commands.write.ClearCommandbuildClearCommand(long flagsBitSet) Builds a ClearCommandorg.infinispan.commands.remote.ClusteredGetAllCommandbuildClusteredGetAllCommand(List<?> keys, long flagsBitSet, GlobalTransaction gtx) Builds a ClusteredGetAllCommand, which is a remote lookup commandorg.infinispan.commands.remote.ClusteredGetCommandbuildClusteredGetCommand(Object key, Integer segment, long flagsBitSet) Builds a ClusteredGetCommand, which is a remote lookup commandorg.infinispan.commands.tx.CommitCommandBuilds a CommitCommandorg.infinispan.commands.remote.recovery.CompleteTransactionCommandbuildCompleteTransactionCommand(XidImpl xid, boolean commit) Builds a CompleteTransactionCommand command.org.infinispan.commands.write.ComputeCommandbuildComputeCommand(Object key, BiFunction mappingFunction, boolean computeIfPresent, int segment, Metadata metadata, long flagsBitSet) Builds a ComputeCommandorg.infinispan.commands.write.ComputeIfAbsentCommandbuildComputeIfAbsentCommand(Object key, Function mappingFunction, int segment, Metadata metadata, long flagsBitSet) Builds a ComputeIfAbsentCommandorg.infinispan.commands.statetransfer.ConflictResolutionStartCommandbuildConflictResolutionStartCommand(int topologyId, IntSet segments) <K,V, R> org.infinispan.reactive.publisher.impl.commands.reduction.ReductionPublisherRequestCommand<K> buildEntryReductionPublisherCommand(boolean parallelStream, DeliveryGuarantee deliveryGuarantee, IntSet segments, Set<K> keys, Set<K> excludedKeys, long explicitFlags, Function<? super org.reactivestreams.Publisher<CacheEntry<K, V>>, ? extends CompletionStage<R>> transformer, Function<? super org.reactivestreams.Publisher<R>, ? extends CompletionStage<R>> finalizer) org.infinispan.commands.read.EntrySetCommandbuildEntrySetCommand(long flagsBitSet) Builds a EntrySetCommandorg.infinispan.commands.write.EvictCommandbuildEvictCommand(Object key, int segment, long flagsBitSet) Builds an EvictCommandorg.infinispan.commands.write.ExceptionAckCommandbuildExceptionAckCommand(long id, Throwable throwable, int topologyId) org.infinispan.commands.read.GetAllCommandbuildGetAllCommand(Collection<?> keys, long flagsBitSet, boolean returnEntries) Builds a GetAllCommandorg.infinispan.commands.read.GetCacheEntryCommandbuildGetCacheEntryCommand(Object key, int segment, long flagsBitSet) Builds a GetCacheEntryCommandorg.infinispan.commands.remote.recovery.GetInDoubtTransactionsCommandBuilds aGetInDoubtTransactionsCommand.org.infinispan.commands.remote.recovery.GetInDoubtTxInfoCommandorg.infinispan.commands.read.GetKeyValueCommandbuildGetKeyValueCommand(Object key, int segment, long flagsBitSet) Builds a GetKeyValueCommand<K,I, R> org.infinispan.reactive.publisher.impl.commands.batch.InitialPublisherCommand<K, I, R> buildInitialPublisherCommand(String requestId, DeliveryGuarantee deliveryGuarantee, int batchSize, IntSet segments, Set<K> keys, Set<K> excludedKeys, long explicitFlags, boolean entryStream, boolean trackKeys, Function<? super org.reactivestreams.Publisher<I>, ? extends org.reactivestreams.Publisher<R>> transformer) org.infinispan.commands.write.InvalidateCommandbuildInvalidateCommand(long flagsBitSet, Object... keys) Builds an InvalidateCommandorg.infinispan.commands.write.InvalidateCommandbuildInvalidateFromL1Command(long flagsBitSet, Collection<Object> keys) Builds an InvalidateFromL1Commandorg.infinispan.commands.write.InvalidateCommandbuildInvalidateFromL1Command(Address origin, long flagsBitSet, Collection<Object> keys) org.infinispan.commands.write.InvalidateVersionsCommandbuildInvalidateVersionsCommand(int topologyId, Object[] keys, int[] topologyIds, long[] versions, boolean removed) org.infinispan.commands.irac.IracCleanupKeysCommandbuildIracCleanupKeyCommand(Collection<? extends IracManagerKeyInfo> state) org.infinispan.commands.irac.IracMetadataRequestCommandbuildIracMetadataRequestCommand(int segment, IracEntryVersion versionSeen) org.infinispan.commands.write.IracPutKeyValueCommandbuildIracPutKeyValueCommand(Object key, int segment, Object value, Metadata metadata, PrivateMetadata privateMetadata) buildIracPutManyCommand(int capacity) org.infinispan.commands.irac.IracRequestStateCommandbuildIracRequestStateCommand(IntSet segments) org.infinispan.commands.irac.IracStateResponseCommandbuildIracStateResponseCommand(int capacity) org.infinispan.commands.irac.IracTombstoneCleanupCommandbuildIracTombstoneCleanupCommand(int maxCapacity) org.infinispan.commands.irac.IracTombstonePrimaryCheckCommandorg.infinispan.commands.irac.IracTombstoneRemoteSiteCheckCommandorg.infinispan.commands.irac.IracTombstoneStateResponseCommandorg.infinispan.commands.irac.IracUpdateVersionCommandbuildIracUpdateVersionCommand(Map<Integer, IracEntryVersion> segmentsVersion) <K,R> org.infinispan.reactive.publisher.impl.commands.reduction.ReductionPublisherRequestCommand<K> buildKeyReductionPublisherCommand(boolean parallelStream, DeliveryGuarantee deliveryGuarantee, IntSet segments, Set<K> keys, Set<K> excludedKeys, long explicitFlags, Function<? super org.reactivestreams.Publisher<K>, ? extends CompletionStage<R>> transformer, Function<? super org.reactivestreams.Publisher<R>, ? extends CompletionStage<R>> finalizer) org.infinispan.commands.read.KeySetCommandbuildKeySetCommand(long flagsBitSet) Builds a KeySetCommandorg.infinispan.commands.control.LockControlCommandbuildLockControlCommand(Object key, long flagsBitSet, GlobalTransaction gtx) Same asCommandsFactory.buildLockControlCommand(Collection, long, GlobalTransaction)but for locking a single key vs a collection of keys.org.infinispan.commands.control.LockControlCommandbuildLockControlCommand(Collection<?> keys, long flagsBitSet) org.infinispan.commands.control.LockControlCommandbuildLockControlCommand(Collection<?> keys, long flagsBitSet, GlobalTransaction gtx) Builds a LockControlCommand to control explicit remote locking<K,V> MultiClusterEventCommand<K, V> buildMultiClusterEventCommand(Map<UUID, Collection<ClusterEvent<K, V>>> events) org.infinispan.commands.triangle.MultiEntriesFunctionalBackupWriteCommandorg.infinispan.commands.triangle.MultiKeyFunctionalBackupWriteCommandorg.infinispan.reactive.publisher.impl.commands.batch.NextPublisherCommandbuildNextPublisherCommand(String requestId) org.infinispan.commands.tx.PrepareCommandbuildPrepareCommand(GlobalTransaction gtx, List<org.infinispan.commands.write.WriteCommand> modifications, boolean onePhaseCommit) Builds a PrepareCommandorg.infinispan.commands.write.PutKeyValueCommandbuildPutKeyValueCommand(Object key, Object value, int segment, Metadata metadata, long flagsBitSet, boolean returnEntry) org.infinispan.commands.triangle.PutMapBackupWriteCommandorg.infinispan.commands.write.PutMapCommandbuildPutMapCommand(Map<?, ?> map, Metadata metadata, long flagsBitSet) Builds a PutMapCommand<K,V, R> org.infinispan.commands.functional.ReadOnlyKeyCommand<K, V, R> buildReadOnlyKeyCommand(Object key, Function<EntryView.ReadEntryView<K, V>, R> f, int segment, Params params, DataConversion keyDataConversion, DataConversion valueDataConversion) <K,V, R> org.infinispan.commands.functional.ReadOnlyManyCommand<K, V, R> buildReadOnlyManyCommand(Collection<?> keys, Function<EntryView.ReadEntryView<K, V>, R> f, Params params, DataConversion keyDataConversion, DataConversion valueDataConversion) <K,V, R> org.infinispan.commands.functional.ReadWriteKeyCommand<K, V, R> buildReadWriteKeyCommand(Object key, Function<EntryView.ReadWriteEntryView<K, V>, R> f, int segment, Params params, DataConversion keyDataConversion, DataConversion valueDataConversion) <K,V, T, R> org.infinispan.commands.functional.ReadWriteKeyValueCommand<K, V, T, R> buildReadWriteKeyValueCommand(Object key, Object argument, BiFunction<T, EntryView.ReadWriteEntryView<K, V>, R> f, int segment, Params params, DataConversion keyDataConversion, DataConversion valueDataConversion) <K,V, R> org.infinispan.commands.functional.ReadWriteManyCommand<K, V, R> buildReadWriteManyCommand(Collection<?> keys, Function<EntryView.ReadWriteEntryView<K, V>, R> f, Params params, DataConversion keyDataConversion, DataConversion valueDataConversion) <K,V, T, R> org.infinispan.commands.functional.ReadWriteManyEntriesCommand<K, V, T, R> buildReadWriteManyEntriesCommand(Map<?, ?> entries, BiFunction<T, EntryView.ReadWriteEntryView<K, V>, R> f, Params params, DataConversion keyDataConversion, DataConversion valueDataConversion) org.infinispan.commands.write.RemoveCommandbuildRemoveCommand(Object key, Object value, int segment, long flagsBitSet, boolean returnEntry) org.infinispan.commands.write.RemoveExpiredCommandbuildRemoveExpiredCommand(Object key, Object value, int segment, long flagsBitSet) Builds an expired remove command that is used to remove only a specific entry when it expires via maxIdleorg.infinispan.commands.write.RemoveExpiredCommandbuildRemoveExpiredCommand(Object key, Object value, int segment, Long lifespan, long flagsBitSet) Builds an expired remove command that is used to remove only a specific entry when it expires via lifespanorg.infinispan.commands.remote.RenewBiasCommandbuildRenewBiasCommand(Object[] keys) org.infinispan.commands.write.ReplaceCommandbuildReplaceCommand(Object key, Object oldValue, Object newValue, int segment, Metadata metadata, long flagsBitSet, boolean returnEntry) Builds a ReplaceCommandorg.infinispan.commands.remote.RevokeBiasCommandbuildRevokeBiasCommand(Address ackTarget, long id, int topologyId, Collection<Object> keys) org.infinispan.commands.tx.RollbackCommandBuilds a RollbackCommandorg.infinispan.commands.statetransfer.ScatteredStateConfirmRevokedCommandbuildScatteredStateConfirmRevokeCommand(int topologyId, IntSet segments) org.infinispan.commands.statetransfer.ScatteredStateGetKeysCommandbuildScatteredStateGetKeysCommand(int topologyId, IntSet segments) org.infinispan.commands.triangle.SingleKeyBackupWriteCommandorg.infinispan.commands.triangle.SingleKeyFunctionalBackupWriteCommandorg.infinispan.commands.remote.SingleRpcCommandBuilds a SingleRpcCommand "envelope" containing a single ReplicableCommandorg.infinispan.xsite.SingleXSiteRpcCommandBuilds SingleRpcCommand used to performVisitableCommandon the backup site,org.infinispan.commands.read.SizeCommandbuildSizeCommand(IntSet segments, long flagsBitSet) Builds a SizeCommandorg.infinispan.commands.statetransfer.StateResponseCommandbuildStateResponseCommand(int topologyId, Collection<org.infinispan.statetransfer.StateChunk> stateChunks, boolean applyState, boolean pushTransfer) Builds a StateResponseCommand used for pushing cache entries to another node.org.infinispan.commands.statetransfer.StateTransferCancelCommandbuildStateTransferCancelCommand(int topologyId, IntSet segments) org.infinispan.commands.statetransfer.StateTransferGetListenersCommandbuildStateTransferGetListenersCommand(int topologyId) org.infinispan.commands.statetransfer.StateTransferGetTransactionsCommandbuildStateTransferGetTransactionsCommand(int topologyId, IntSet segments) org.infinispan.commands.statetransfer.StateTransferStartCommandbuildStateTransferStartCommand(int topologyId, IntSet segments) buildTouchCommand(Object key, int segment, boolean touchEvenIfExpired, long flagBitSet) org.infinispan.commands.remote.recovery.TxCompletionNotificationCommandbuildTxCompletionNotificationCommand(long internalId) org.infinispan.commands.remote.recovery.TxCompletionNotificationCommandbuildTxCompletionNotificationCommand(XidImpl xid, GlobalTransaction globalTransaction) Builds aTxCompletionNotificationCommand.<K,V, R> org.infinispan.commands.functional.TxReadOnlyKeyCommand<K, V, R> buildTxReadOnlyKeyCommand(Object key, Function<EntryView.ReadEntryView<K, V>, R> f, List<org.infinispan.commands.functional.Mutation<K, V, ?>> mutations, int segment, Params params, DataConversion keyDataConversion, DataConversion valueDataConversion) <K,V, R> org.infinispan.commands.functional.TxReadOnlyManyCommand<K, V, R> buildTxReadOnlyManyCommand(Collection<?> keys, List<List<org.infinispan.commands.functional.Mutation<K, V, ?>>> mutations, Params params, DataConversion keyDataConversion, DataConversion valueDataConversion) org.infinispan.commands.tx.VersionedCommitCommandBuilds a VersionedCommitCommandorg.infinispan.commands.tx.VersionedPrepareCommandbuildVersionedPrepareCommand(GlobalTransaction gtx, List<org.infinispan.commands.write.WriteCommand> modifications, boolean onePhase) Builds a VersionedPrepareCommand<K,V> org.infinispan.commands.functional.WriteOnlyKeyCommand<K, V> buildWriteOnlyKeyCommand(Object key, Consumer<EntryView.WriteEntryView<K, V>> f, int segment, Params params, DataConversion keyDataConversion, DataConversion valueDataConversion) <K,V, T> org.infinispan.commands.functional.WriteOnlyKeyValueCommand<K, V, T> buildWriteOnlyKeyValueCommand(Object key, Object argument, BiConsumer<T, EntryView.WriteEntryView<K, V>> f, int segment, Params params, DataConversion keyDataConversion, DataConversion valueDataConversion) <K,V> org.infinispan.commands.functional.WriteOnlyManyCommand<K, V> buildWriteOnlyManyCommand(Collection<?> keys, Consumer<EntryView.WriteEntryView<K, V>> f, Params params, DataConversion keyDataConversion, DataConversion valueDataConversion) <K,V, T> org.infinispan.commands.functional.WriteOnlyManyEntriesCommand<K, V, T> buildWriteOnlyManyEntriesCommand(Map<?, ?> arguments, BiConsumer<T, EntryView.WriteEntryView<K, V>> f, Params params, DataConversion keyDataConversion, DataConversion valueDataConversion) buildXSiteAmendOfflineStatusCommand(String siteName, Integer afterFailures, Long minTimeToWait) buildXSiteBringOnlineCommand(String siteName) buildXSiteOfflineStatusCommand(String siteName) buildXSiteStatePushCommand(XSiteState[] chunk) Builds XSiteStatePushCommand used to transfer a single chunk of data between sites.buildXSiteStatePushRequest(XSiteState[] chunk, long timeoutMillis) buildXSiteStateTransferControlRequest(boolean startReceiving) buildXSiteStateTransferFinishSendCommand(String siteName, boolean statusOk) buildXSiteStateTransferRestartSendingCommand(String siteName, int topologyId) buildXSiteStateTransferStartSendCommand(String siteName, int topologyId) buildXSiteTakeOfflineCommand(String siteName) Retrieves the cache name this CommandFactory is set up to construct commands for.voidinitializeReplicableCommand(ReplicableCommand c, boolean isRemote) Initializes aReplicableCommandread from a data stream with components specific to the target cache instance.voidstart()Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.infinispan.commands.CommandsFactory
buildPutKeyValueCommand, buildRemoveCommand, buildReplaceCommand, buildSingleRpcCommand
-
Constructor Details
-
CommandsFactoryImpl
public CommandsFactoryImpl()
-
-
Method Details
-
start
public void start() -
buildPutKeyValueCommand
public org.infinispan.commands.write.PutKeyValueCommand buildPutKeyValueCommand(Object key, Object value, int segment, Metadata metadata, long flagsBitSet, boolean returnEntry) - Specified by:
buildPutKeyValueCommandin interfaceCommandsFactory
-
buildRemoveCommand
public org.infinispan.commands.write.RemoveCommand buildRemoveCommand(Object key, Object value, int segment, long flagsBitSet, boolean returnEntry) - Specified by:
buildRemoveCommandin interfaceCommandsFactory
-
buildInvalidateCommand
public org.infinispan.commands.write.InvalidateCommand buildInvalidateCommand(long flagsBitSet, Object... keys) Description copied from interface:CommandsFactoryBuilds an InvalidateCommand- Specified by:
buildInvalidateCommandin interfaceCommandsFactory- Parameters:
flagsBitSet- Command flags provided by cachekeys- keys to invalidate- Returns:
- an InvalidateCommand
-
buildInvalidateFromL1Command
public org.infinispan.commands.write.InvalidateCommand buildInvalidateFromL1Command(long flagsBitSet, Collection<Object> keys) Description copied from interface:CommandsFactoryBuilds an InvalidateFromL1Command- Specified by:
buildInvalidateFromL1Commandin interfaceCommandsFactory- Parameters:
flagsBitSet- Command flags provided by cachekeys- keys to invalidate- Returns:
- an InvalidateFromL1Command
-
buildInvalidateFromL1Command
public org.infinispan.commands.write.InvalidateCommand buildInvalidateFromL1Command(Address origin, long flagsBitSet, Collection<Object> keys) - Specified by:
buildInvalidateFromL1Commandin interfaceCommandsFactory- See Also:
-
buildRemoveExpiredCommand
public org.infinispan.commands.write.RemoveExpiredCommand buildRemoveExpiredCommand(Object key, Object value, int segment, Long lifespan, long flagsBitSet) Description copied from interface:CommandsFactoryBuilds an expired remove command that is used to remove only a specific entry when it expires via lifespan- Specified by:
buildRemoveExpiredCommandin interfaceCommandsFactory- Parameters:
key- the key of the expired entryvalue- the value of the entry when it was expiredsegment- the segment of the given keylifespan- the lifespan that expired from the commandflagsBitSet- Command flags provided by cache- Returns:
- a RemovedExpiredCommand
-
buildRemoveExpiredCommand
public org.infinispan.commands.write.RemoveExpiredCommand buildRemoveExpiredCommand(Object key, Object value, int segment, long flagsBitSet) Description copied from interface:CommandsFactoryBuilds an expired remove command that is used to remove only a specific entry when it expires via maxIdle- Specified by:
buildRemoveExpiredCommandin interfaceCommandsFactory- Parameters:
key- the key of the expired entryvalue- the value of the entry when it was expiredsegment- the segment of the given keyflagsBitSet- Command flags provided by cache- Returns:
- a RemovedExpiredCommand
-
buildReplaceCommand
public org.infinispan.commands.write.ReplaceCommand buildReplaceCommand(Object key, Object oldValue, Object newValue, int segment, Metadata metadata, long flagsBitSet, boolean returnEntry) Description copied from interface:CommandsFactoryBuilds a ReplaceCommand- Specified by:
buildReplaceCommandin interfaceCommandsFactory- Parameters:
key- key to replaceoldValue- existing value to check for if conditional, null if unconditional.newValue- value to replace withsegment- the segment of the given keymetadata- metadata of entryflagsBitSet- Command flags provided by cachereturnEntry- true if theCacheEntryis the command response, otherwise returns previous value.- Returns:
- a ReplaceCommand
-
buildComputeCommand
public org.infinispan.commands.write.ComputeCommand buildComputeCommand(Object key, BiFunction mappingFunction, boolean computeIfPresent, int segment, Metadata metadata, long flagsBitSet) Description copied from interface:CommandsFactoryBuilds a ComputeCommand- Specified by:
buildComputeCommandin interfaceCommandsFactory- Parameters:
key- key to compute if this key is absentmappingFunction- BiFunction for the key and the valuecomputeIfPresent- flag to apply as computeIfPresent modesegment- the segment of the given keymetadata- metadata of entryflagsBitSet- Command flags provided by cache- Returns:
- a ComputeCommand
-
buildComputeIfAbsentCommand
public org.infinispan.commands.write.ComputeIfAbsentCommand buildComputeIfAbsentCommand(Object key, Function mappingFunction, int segment, Metadata metadata, long flagsBitSet) Description copied from interface:CommandsFactoryBuilds a ComputeIfAbsentCommand- Specified by:
buildComputeIfAbsentCommandin interfaceCommandsFactory- Parameters:
key- key to compute if this key is absentmappingFunction- mappingFunction for the keysegment- the segment of the given keymetadata- metadata of entryflagsBitSet- Command flags provided by cache- Returns:
- a ComputeCommand
-
buildSizeCommand
Description copied from interface:CommandsFactoryBuilds a SizeCommand- Specified by:
buildSizeCommandin interfaceCommandsFactoryflagsBitSet- Command flags provided by cache- Returns:
- a SizeCommand
-
buildKeySetCommand
public org.infinispan.commands.read.KeySetCommand buildKeySetCommand(long flagsBitSet) Description copied from interface:CommandsFactoryBuilds a KeySetCommand- Specified by:
buildKeySetCommandin interfaceCommandsFactory- Parameters:
flagsBitSet- Command flags provided by cache- Returns:
- a KeySetCommand
-
buildEntrySetCommand
public org.infinispan.commands.read.EntrySetCommand buildEntrySetCommand(long flagsBitSet) Description copied from interface:CommandsFactoryBuilds a EntrySetCommand- Specified by:
buildEntrySetCommandin interfaceCommandsFactory- Parameters:
flagsBitSet- Command flags provided by cache- Returns:
- a EntrySetCommand
-
buildGetKeyValueCommand
public org.infinispan.commands.read.GetKeyValueCommand buildGetKeyValueCommand(Object key, int segment, long flagsBitSet) Description copied from interface:CommandsFactoryBuilds a GetKeyValueCommand- Specified by:
buildGetKeyValueCommandin interfaceCommandsFactory- Parameters:
key- key to getsegment- the segment of the given keyflagsBitSet- Command flags provided by cache- Returns:
- a GetKeyValueCommand
-
buildGetAllCommand
public org.infinispan.commands.read.GetAllCommand buildGetAllCommand(Collection<?> keys, long flagsBitSet, boolean returnEntries) Description copied from interface:CommandsFactoryBuilds a GetAllCommand- Specified by:
buildGetAllCommandin interfaceCommandsFactory- Parameters:
keys- keys to getflagsBitSet- Command flags provided by cachereturnEntries- boolean indicating whether entire cache entries are returned, otherwise return just the value parts- Returns:
- a GetKeyValueCommand
-
buildPutMapCommand
public org.infinispan.commands.write.PutMapCommand buildPutMapCommand(Map<?, ?> map, Metadata metadata, long flagsBitSet) Description copied from interface:CommandsFactoryBuilds a PutMapCommand- Specified by:
buildPutMapCommandin interfaceCommandsFactory- Parameters:
map- map containing key/value entries to putmetadata- metadata of entryflagsBitSet- Command flags provided by cache- Returns:
- a PutMapCommand
-
buildClearCommand
public org.infinispan.commands.write.ClearCommand buildClearCommand(long flagsBitSet) Description copied from interface:CommandsFactoryBuilds a ClearCommand- Specified by:
buildClearCommandin interfaceCommandsFactory- Parameters:
flagsBitSet- Command flags provided by cache- Returns:
- a ClearCommand
-
buildEvictCommand
public org.infinispan.commands.write.EvictCommand buildEvictCommand(Object key, int segment, long flagsBitSet) Description copied from interface:CommandsFactoryBuilds an EvictCommand- Specified by:
buildEvictCommandin interfaceCommandsFactory- Parameters:
key- key to evictsegment- the segment for the keyflagsBitSet- Command flags provided by cache- Returns:
- an EvictCommand
-
buildPrepareCommand
public org.infinispan.commands.tx.PrepareCommand buildPrepareCommand(GlobalTransaction gtx, List<org.infinispan.commands.write.WriteCommand> modifications, boolean onePhaseCommit) Description copied from interface:CommandsFactoryBuilds a PrepareCommand- Specified by:
buildPrepareCommandin interfaceCommandsFactory- Parameters:
gtx- global transaction associated with the preparemodifications- list of modificationsonePhaseCommit- is this a one-phase or two-phase transaction?- Returns:
- a PrepareCommand
-
buildVersionedPrepareCommand
public org.infinispan.commands.tx.VersionedPrepareCommand buildVersionedPrepareCommand(GlobalTransaction gtx, List<org.infinispan.commands.write.WriteCommand> modifications, boolean onePhase) Description copied from interface:CommandsFactoryBuilds a VersionedPrepareCommand- Specified by:
buildVersionedPrepareCommandin interfaceCommandsFactory- Parameters:
gtx- global transaction associated with the preparemodifications- list of modifications- Returns:
- a VersionedPrepareCommand
-
buildCommitCommand
Description copied from interface:CommandsFactoryBuilds a CommitCommand- Specified by:
buildCommitCommandin interfaceCommandsFactory- Parameters:
gtx- global transaction associated with the commit- Returns:
- a CommitCommand
-
buildVersionedCommitCommand
public org.infinispan.commands.tx.VersionedCommitCommand buildVersionedCommitCommand(GlobalTransaction gtx) Description copied from interface:CommandsFactoryBuilds a VersionedCommitCommand- Specified by:
buildVersionedCommitCommandin interfaceCommandsFactory- Parameters:
gtx- global transaction associated with the commit- Returns:
- a VersionedCommitCommand
-
buildRollbackCommand
Description copied from interface:CommandsFactoryBuilds a RollbackCommand- Specified by:
buildRollbackCommandin interfaceCommandsFactory- Parameters:
gtx- global transaction associated with the rollback- Returns:
- a RollbackCommand
-
buildSingleRpcCommand
Description copied from interface:CommandsFactoryBuilds a SingleRpcCommand "envelope" containing a single ReplicableCommand- Specified by:
buildSingleRpcCommandin interfaceCommandsFactory- Parameters:
call- VisitableCommand to include in the envelope- Returns:
- a SingleRpcCommand
-
buildClusteredGetCommand
public org.infinispan.commands.remote.ClusteredGetCommand buildClusteredGetCommand(Object key, Integer segment, long flagsBitSet) Description copied from interface:CommandsFactoryBuilds a ClusteredGetCommand, which is a remote lookup command- Specified by:
buildClusteredGetCommandin interfaceCommandsFactory- Parameters:
key- key to look upsegment- the segment for the key or null if it should be computed on the remote nodeflagsBitSet- Command flags provided by cache- Returns:
- a ClusteredGetCommand
-
initializeReplicableCommand
Description copied from interface:CommandsFactoryInitializes aReplicableCommandread from a data stream with components specific to the target cache instance. Implementations should also be deep, in that if the command contains other commands, these should be recursed into.- Specified by:
initializeReplicableCommandin interfaceCommandsFactory- Parameters:
isRemote- true if the command is deserialized and is executed remote.c- command to initialize. Cannot be null.
-
buildLockControlCommand
public org.infinispan.commands.control.LockControlCommand buildLockControlCommand(Collection<?> keys, long flagsBitSet, GlobalTransaction gtx) Description copied from interface:CommandsFactoryBuilds a LockControlCommand to control explicit remote locking- Specified by:
buildLockControlCommandin interfaceCommandsFactory- Parameters:
keys- keys to lockflagsBitSet- Command flags provided by cache- Returns:
- a LockControlCommand
-
buildLockControlCommand
public org.infinispan.commands.control.LockControlCommand buildLockControlCommand(Object key, long flagsBitSet, GlobalTransaction gtx) Description copied from interface:CommandsFactorySame asCommandsFactory.buildLockControlCommand(Collection, long, GlobalTransaction)but for locking a single key vs a collection of keys.- Specified by:
buildLockControlCommandin interfaceCommandsFactory
-
buildLockControlCommand
public org.infinispan.commands.control.LockControlCommand buildLockControlCommand(Collection<?> keys, long flagsBitSet) - Specified by:
buildLockControlCommandin interfaceCommandsFactory
-
buildConflictResolutionStartCommand
public org.infinispan.commands.statetransfer.ConflictResolutionStartCommand buildConflictResolutionStartCommand(int topologyId, IntSet segments) - Specified by:
buildConflictResolutionStartCommandin interfaceCommandsFactory
-
buildScatteredStateConfirmRevokeCommand
public org.infinispan.commands.statetransfer.ScatteredStateConfirmRevokedCommand buildScatteredStateConfirmRevokeCommand(int topologyId, IntSet segments) - Specified by:
buildScatteredStateConfirmRevokeCommandin interfaceCommandsFactory
-
buildScatteredStateGetKeysCommand
public org.infinispan.commands.statetransfer.ScatteredStateGetKeysCommand buildScatteredStateGetKeysCommand(int topologyId, IntSet segments) - Specified by:
buildScatteredStateGetKeysCommandin interfaceCommandsFactory
-
buildStateTransferCancelCommand
public org.infinispan.commands.statetransfer.StateTransferCancelCommand buildStateTransferCancelCommand(int topologyId, IntSet segments) - Specified by:
buildStateTransferCancelCommandin interfaceCommandsFactory
-
buildStateTransferGetListenersCommand
public org.infinispan.commands.statetransfer.StateTransferGetListenersCommand buildStateTransferGetListenersCommand(int topologyId) - Specified by:
buildStateTransferGetListenersCommandin interfaceCommandsFactory
-
buildStateTransferGetTransactionsCommand
public org.infinispan.commands.statetransfer.StateTransferGetTransactionsCommand buildStateTransferGetTransactionsCommand(int topologyId, IntSet segments) - Specified by:
buildStateTransferGetTransactionsCommandin interfaceCommandsFactory
-
buildStateTransferStartCommand
public org.infinispan.commands.statetransfer.StateTransferStartCommand buildStateTransferStartCommand(int topologyId, IntSet segments) - Specified by:
buildStateTransferStartCommandin interfaceCommandsFactory
-
buildStateResponseCommand
public org.infinispan.commands.statetransfer.StateResponseCommand buildStateResponseCommand(int topologyId, Collection<org.infinispan.statetransfer.StateChunk> stateChunks, boolean applyState, boolean pushTransfer) Description copied from interface:CommandsFactoryBuilds a StateResponseCommand used for pushing cache entries to another node.- Specified by:
buildStateResponseCommandin interfaceCommandsFactory
-
getCacheName
Description copied from interface:CommandsFactoryRetrieves the cache name this CommandFactory is set up to construct commands for.- Specified by:
getCacheNamein interfaceCommandsFactory- Returns:
- the name of the cache this CommandFactory is set up to construct commands for.
-
buildGetInDoubtTransactionsCommand
public org.infinispan.commands.remote.recovery.GetInDoubtTransactionsCommand buildGetInDoubtTransactionsCommand()Description copied from interface:CommandsFactoryBuilds aGetInDoubtTransactionsCommand.- Specified by:
buildGetInDoubtTransactionsCommandin interfaceCommandsFactory
-
buildTxCompletionNotificationCommand
public org.infinispan.commands.remote.recovery.TxCompletionNotificationCommand buildTxCompletionNotificationCommand(XidImpl xid, GlobalTransaction globalTransaction) Description copied from interface:CommandsFactoryBuilds aTxCompletionNotificationCommand.- Specified by:
buildTxCompletionNotificationCommandin interfaceCommandsFactory
-
buildTxCompletionNotificationCommand
public org.infinispan.commands.remote.recovery.TxCompletionNotificationCommand buildTxCompletionNotificationCommand(long internalId) - Specified by:
buildTxCompletionNotificationCommandin interfaceCommandsFactory- Parameters:
internalId- the internal id identifying the transaction to be removed.- See Also:
-
TxCompletionNotificationCommand
-
buildGetInDoubtTxInfoCommand
public org.infinispan.commands.remote.recovery.GetInDoubtTxInfoCommand buildGetInDoubtTxInfoCommand()- Specified by:
buildGetInDoubtTxInfoCommandin interfaceCommandsFactory- See Also:
-
GetInDoubtTxInfoCommand
-
buildCompleteTransactionCommand
public org.infinispan.commands.remote.recovery.CompleteTransactionCommand buildCompleteTransactionCommand(XidImpl xid, boolean commit) Description copied from interface:CommandsFactoryBuilds a CompleteTransactionCommand command.- Specified by:
buildCompleteTransactionCommandin interfaceCommandsFactory- Parameters:
xid- the xid identifying the transaction we want to complete.commit- commit(true) or rollback(false)?
-
buildXSiteStateTransferCancelSendCommand
public XSiteStateTransferCancelSendCommand buildXSiteStateTransferCancelSendCommand(String siteName) - Specified by:
buildXSiteStateTransferCancelSendCommandin interfaceCommandsFactory
-
buildXSiteStateTransferClearStatusCommand
- Specified by:
buildXSiteStateTransferClearStatusCommandin interfaceCommandsFactory
-
buildXSiteStateTransferFinishReceiveCommand
public XSiteStateTransferFinishReceiveCommand buildXSiteStateTransferFinishReceiveCommand(String siteName) - Specified by:
buildXSiteStateTransferFinishReceiveCommandin interfaceCommandsFactory
-
buildXSiteStateTransferFinishSendCommand
public XSiteStateTransferFinishSendCommand buildXSiteStateTransferFinishSendCommand(String siteName, boolean statusOk) - Specified by:
buildXSiteStateTransferFinishSendCommandin interfaceCommandsFactory
-
buildXSiteStateTransferRestartSendingCommand
public XSiteStateTransferRestartSendingCommand buildXSiteStateTransferRestartSendingCommand(String siteName, int topologyId) - Specified by:
buildXSiteStateTransferRestartSendingCommandin interfaceCommandsFactory
-
buildXSiteStateTransferStartReceiveCommand
public XSiteStateTransferStartReceiveCommand buildXSiteStateTransferStartReceiveCommand(String siteName) - Specified by:
buildXSiteStateTransferStartReceiveCommandin interfaceCommandsFactory
-
buildXSiteStateTransferStartSendCommand
public XSiteStateTransferStartSendCommand buildXSiteStateTransferStartSendCommand(String siteName, int topologyId) - Specified by:
buildXSiteStateTransferStartSendCommandin interfaceCommandsFactory
-
buildXSiteStateTransferStatusRequestCommand
- Specified by:
buildXSiteStateTransferStatusRequestCommandin interfaceCommandsFactory
-
buildXSiteStateTransferControlRequest
public XSiteStateTransferControlRequest buildXSiteStateTransferControlRequest(boolean startReceiving) - Specified by:
buildXSiteStateTransferControlRequestin interfaceCommandsFactory
-
buildXSiteAmendOfflineStatusCommand
public XSiteAmendOfflineStatusCommand buildXSiteAmendOfflineStatusCommand(String siteName, Integer afterFailures, Long minTimeToWait) - Specified by:
buildXSiteAmendOfflineStatusCommandin interfaceCommandsFactory
-
buildXSiteBringOnlineCommand
- Specified by:
buildXSiteBringOnlineCommandin interfaceCommandsFactory
-
buildXSiteOfflineStatusCommand
- Specified by:
buildXSiteOfflineStatusCommandin interfaceCommandsFactory
-
buildXSiteStatusCommand
- Specified by:
buildXSiteStatusCommandin interfaceCommandsFactory
-
buildXSiteTakeOfflineCommand
- Specified by:
buildXSiteTakeOfflineCommandin interfaceCommandsFactory
-
buildXSiteStatePushCommand
Description copied from interface:CommandsFactoryBuilds XSiteStatePushCommand used to transfer a single chunk of data between sites.- Specified by:
buildXSiteStatePushCommandin interfaceCommandsFactory- Parameters:
chunk- the data chunk- Returns:
- the XSiteStatePushCommand created
-
buildSingleXSiteRpcCommand
public org.infinispan.xsite.SingleXSiteRpcCommand buildSingleXSiteRpcCommand(VisitableCommand command) Description copied from interface:CommandsFactoryBuilds SingleRpcCommand used to performVisitableCommandon the backup site,- Specified by:
buildSingleXSiteRpcCommandin interfaceCommandsFactory- Parameters:
command- the visitable command.- Returns:
- the SingleXSiteRpcCommand created
-
buildGetCacheEntryCommand
public org.infinispan.commands.read.GetCacheEntryCommand buildGetCacheEntryCommand(Object key, int segment, long flagsBitSet) Description copied from interface:CommandsFactoryBuilds a GetCacheEntryCommand- Specified by:
buildGetCacheEntryCommandin interfaceCommandsFactory- Parameters:
key- key to getsegment- the segment for the keyflagsBitSet- Command flags provided by cache- Returns:
- a GetCacheEntryCommand
-
buildClusteredGetAllCommand
public org.infinispan.commands.remote.ClusteredGetAllCommand buildClusteredGetAllCommand(List<?> keys, long flagsBitSet, GlobalTransaction gtx) Description copied from interface:CommandsFactoryBuilds a ClusteredGetAllCommand, which is a remote lookup command- Specified by:
buildClusteredGetAllCommandin interfaceCommandsFactory- Parameters:
keys- key to look upflagsBitSet- Command flags provided by cache- Returns:
- a ClusteredGetAllCommand
-
buildReadOnlyKeyCommand
public <K,V, org.infinispan.commands.functional.ReadOnlyKeyCommand<K,R> V, buildReadOnlyKeyCommandR> (Object key, Function<EntryView.ReadEntryView<K, V>, R> f, int segment, Params params, DataConversion keyDataConversion, DataConversion valueDataConversion) - Specified by:
buildReadOnlyKeyCommandin interfaceCommandsFactory
-
buildReadOnlyManyCommand
public <K,V, org.infinispan.commands.functional.ReadOnlyManyCommand<K,R> V, buildReadOnlyManyCommandR> (Collection<?> keys, Function<EntryView.ReadEntryView<K, V>, R> f, Params params, DataConversion keyDataConversion, DataConversion valueDataConversion) - Specified by:
buildReadOnlyManyCommandin interfaceCommandsFactory
-
buildReadWriteKeyValueCommand
public <K,V, org.infinispan.commands.functional.ReadWriteKeyValueCommand<K,T, R> V, buildReadWriteKeyValueCommandT, R> (Object key, Object argument, BiFunction<T, EntryView.ReadWriteEntryView<K, V>, R> f, int segment, Params params, DataConversion keyDataConversion, DataConversion valueDataConversion) - Specified by:
buildReadWriteKeyValueCommandin interfaceCommandsFactory
-
buildReadWriteKeyCommand
public <K,V, org.infinispan.commands.functional.ReadWriteKeyCommand<K,R> V, buildReadWriteKeyCommandR> (Object key, Function<EntryView.ReadWriteEntryView<K, V>, R> f, int segment, Params params, DataConversion keyDataConversion, DataConversion valueDataConversion) - Specified by:
buildReadWriteKeyCommandin interfaceCommandsFactory
-
buildReadWriteManyCommand
public <K,V, org.infinispan.commands.functional.ReadWriteManyCommand<K,R> V, buildReadWriteManyCommandR> (Collection<?> keys, Function<EntryView.ReadWriteEntryView<K, V>, R> f, Params params, DataConversion keyDataConversion, DataConversion valueDataConversion) - Specified by:
buildReadWriteManyCommandin interfaceCommandsFactory
-
buildReadWriteManyEntriesCommand
public <K,V, org.infinispan.commands.functional.ReadWriteManyEntriesCommand<K,T, R> V, buildReadWriteManyEntriesCommandT, R> (Map<?, ?> entries, BiFunction<T, EntryView.ReadWriteEntryView<K, V>, R> f, Params params, DataConversion keyDataConversion, DataConversion valueDataConversion) - Specified by:
buildReadWriteManyEntriesCommandin interfaceCommandsFactory
-
buildInvalidateVersionsCommand
public org.infinispan.commands.write.InvalidateVersionsCommand buildInvalidateVersionsCommand(int topologyId, Object[] keys, int[] topologyIds, long[] versions, boolean removed) - Specified by:
buildInvalidateVersionsCommandin interfaceCommandsFactory
-
buildWriteOnlyKeyCommand
public <K,V> org.infinispan.commands.functional.WriteOnlyKeyCommand<K,V> buildWriteOnlyKeyCommand(Object key, Consumer<EntryView.WriteEntryView<K, V>> f, int segment, Params params, DataConversion keyDataConversion, DataConversion valueDataConversion) - Specified by:
buildWriteOnlyKeyCommandin interfaceCommandsFactory
-
buildWriteOnlyKeyValueCommand
public <K,V, org.infinispan.commands.functional.WriteOnlyKeyValueCommand<K,T> V, buildWriteOnlyKeyValueCommandT> (Object key, Object argument, BiConsumer<T, EntryView.WriteEntryView<K, V>> f, int segment, Params params, DataConversion keyDataConversion, DataConversion valueDataConversion) - Specified by:
buildWriteOnlyKeyValueCommandin interfaceCommandsFactory
-
buildWriteOnlyManyCommand
public <K,V> org.infinispan.commands.functional.WriteOnlyManyCommand<K,V> buildWriteOnlyManyCommand(Collection<?> keys, Consumer<EntryView.WriteEntryView<K, V>> f, Params params, DataConversion keyDataConversion, DataConversion valueDataConversion) - Specified by:
buildWriteOnlyManyCommandin interfaceCommandsFactory
-
buildWriteOnlyManyEntriesCommand
public <K,V, org.infinispan.commands.functional.WriteOnlyManyEntriesCommand<K,T> V, buildWriteOnlyManyEntriesCommandT> (Map<?, ?> arguments, BiConsumer<T, EntryView.WriteEntryView<K, V>> f, Params params, DataConversion keyDataConversion, DataConversion valueDataConversion) - Specified by:
buildWriteOnlyManyEntriesCommandin interfaceCommandsFactory
-
buildTxReadOnlyKeyCommand
public <K,V, org.infinispan.commands.functional.TxReadOnlyKeyCommand<K,R> V, buildTxReadOnlyKeyCommandR> (Object key, Function<EntryView.ReadEntryView<K, V>, R> f, List<org.infinispan.commands.functional.Mutation<K, V, ?>> mutations, int segment, Params params, DataConversion keyDataConversion, DataConversion valueDataConversion) - Specified by:
buildTxReadOnlyKeyCommandin interfaceCommandsFactory
-
buildTxReadOnlyManyCommand
public <K,V, org.infinispan.commands.functional.TxReadOnlyManyCommand<K,R> V, buildTxReadOnlyManyCommandR> (Collection<?> keys, List<List<org.infinispan.commands.functional.Mutation<K, V, ?>>> mutations, Params params, DataConversion keyDataConversion, DataConversion valueDataConversion) - Specified by:
buildTxReadOnlyManyCommandin interfaceCommandsFactory
-
buildBackupAckCommand
public org.infinispan.commands.write.BackupAckCommand buildBackupAckCommand(long id, int topologyId) - Specified by:
buildBackupAckCommandin interfaceCommandsFactory
-
buildBackupMultiKeyAckCommand
public org.infinispan.commands.write.BackupMultiKeyAckCommand buildBackupMultiKeyAckCommand(long id, int segment, int topologyId) - Specified by:
buildBackupMultiKeyAckCommandin interfaceCommandsFactory
-
buildExceptionAckCommand
public org.infinispan.commands.write.ExceptionAckCommand buildExceptionAckCommand(long id, Throwable throwable, int topologyId) - Specified by:
buildExceptionAckCommandin interfaceCommandsFactory
-
buildRevokeBiasCommand
public org.infinispan.commands.remote.RevokeBiasCommand buildRevokeBiasCommand(Address ackTarget, long id, int topologyId, Collection<Object> keys) - Specified by:
buildRevokeBiasCommandin interfaceCommandsFactory
-
buildRenewBiasCommand
- Specified by:
buildRenewBiasCommandin interfaceCommandsFactory
-
buildSingleKeyBackupWriteCommand
public org.infinispan.commands.triangle.SingleKeyBackupWriteCommand buildSingleKeyBackupWriteCommand()- Specified by:
buildSingleKeyBackupWriteCommandin interfaceCommandsFactory
-
buildSingleKeyFunctionalBackupWriteCommand
public org.infinispan.commands.triangle.SingleKeyFunctionalBackupWriteCommand buildSingleKeyFunctionalBackupWriteCommand()- Specified by:
buildSingleKeyFunctionalBackupWriteCommandin interfaceCommandsFactory
-
buildPutMapBackupWriteCommand
public org.infinispan.commands.triangle.PutMapBackupWriteCommand buildPutMapBackupWriteCommand()- Specified by:
buildPutMapBackupWriteCommandin interfaceCommandsFactory
-
buildMultiEntriesFunctionalBackupWriteCommand
public org.infinispan.commands.triangle.MultiEntriesFunctionalBackupWriteCommand buildMultiEntriesFunctionalBackupWriteCommand()- Specified by:
buildMultiEntriesFunctionalBackupWriteCommandin interfaceCommandsFactory
-
buildMultiKeyFunctionalBackupWriteCommand
public org.infinispan.commands.triangle.MultiKeyFunctionalBackupWriteCommand buildMultiKeyFunctionalBackupWriteCommand()- Specified by:
buildMultiKeyFunctionalBackupWriteCommandin interfaceCommandsFactory
-
buildBackupNoopCommand
public org.infinispan.commands.triangle.BackupNoopCommand buildBackupNoopCommand()- Specified by:
buildBackupNoopCommandin interfaceCommandsFactory
-
buildKeyReductionPublisherCommand
public <K,R> org.infinispan.reactive.publisher.impl.commands.reduction.ReductionPublisherRequestCommand<K> buildKeyReductionPublisherCommand(boolean parallelStream, DeliveryGuarantee deliveryGuarantee, IntSet segments, Set<K> keys, Set<K> excludedKeys, long explicitFlags, Function<? super org.reactivestreams.Publisher<K>, ? extends CompletionStage<R>> transformer, Function<? super org.reactivestreams.Publisher<R>, ? extends CompletionStage<R>> finalizer) - Specified by:
buildKeyReductionPublisherCommandin interfaceCommandsFactory
-
buildEntryReductionPublisherCommand
public <K,V, org.infinispan.reactive.publisher.impl.commands.reduction.ReductionPublisherRequestCommand<K> buildEntryReductionPublisherCommandR> (boolean parallelStream, DeliveryGuarantee deliveryGuarantee, IntSet segments, Set<K> keys, Set<K> excludedKeys, long explicitFlags, Function<? super org.reactivestreams.Publisher<CacheEntry<K, V>>, ? extends CompletionStage<R>> transformer, Function<? super org.reactivestreams.Publisher<R>, ? extends CompletionStage<R>> finalizer) - Specified by:
buildEntryReductionPublisherCommandin interfaceCommandsFactory
-
buildInitialPublisherCommand
public <K,I, org.infinispan.reactive.publisher.impl.commands.batch.InitialPublisherCommand<K,R> I, buildInitialPublisherCommandR> (String requestId, DeliveryGuarantee deliveryGuarantee, int batchSize, IntSet segments, Set<K> keys, Set<K> excludedKeys, long explicitFlags, boolean entryStream, boolean trackKeys, Function<? super org.reactivestreams.Publisher<I>, ? extends org.reactivestreams.Publisher<R>> transformer) - Specified by:
buildInitialPublisherCommandin interfaceCommandsFactory
-
buildNextPublisherCommand
public org.infinispan.reactive.publisher.impl.commands.batch.NextPublisherCommand buildNextPublisherCommand(String requestId) - Specified by:
buildNextPublisherCommandin interfaceCommandsFactory
-
buildCancelPublisherCommand
public org.infinispan.reactive.publisher.impl.commands.batch.CancelPublisherCommand buildCancelPublisherCommand(String requestId) - Specified by:
buildCancelPublisherCommandin interfaceCommandsFactory
-
buildMultiClusterEventCommand
public <K,V> MultiClusterEventCommand<K,V> buildMultiClusterEventCommand(Map<UUID, Collection<ClusterEvent<K, V>>> events) - Specified by:
buildMultiClusterEventCommandin interfaceCommandsFactory
-
buildCheckTransactionRpcCommand
public org.infinispan.commands.remote.CheckTransactionRpcCommand buildCheckTransactionRpcCommand(Collection<GlobalTransaction> globalTransactions) - Specified by:
buildCheckTransactionRpcCommandin interfaceCommandsFactory
-
buildTouchCommand
public TouchCommand buildTouchCommand(Object key, int segment, boolean touchEvenIfExpired, long flagBitSet) - Specified by:
buildTouchCommandin interfaceCommandsFactory
-
buildIracClearKeysCommand
- Specified by:
buildIracClearKeysCommandin interfaceCommandsFactory
-
buildIracCleanupKeyCommand
public org.infinispan.commands.irac.IracCleanupKeysCommand buildIracCleanupKeyCommand(Collection<? extends IracManagerKeyInfo> state) - Specified by:
buildIracCleanupKeyCommandin interfaceCommandsFactory
-
buildIracTombstoneCleanupCommand
public org.infinispan.commands.irac.IracTombstoneCleanupCommand buildIracTombstoneCleanupCommand(int maxCapacity) - Specified by:
buildIracTombstoneCleanupCommandin interfaceCommandsFactory
-
buildIracMetadataRequestCommand
public org.infinispan.commands.irac.IracMetadataRequestCommand buildIracMetadataRequestCommand(int segment, IracEntryVersion versionSeen) - Specified by:
buildIracMetadataRequestCommandin interfaceCommandsFactory
-
buildIracRequestStateCommand
public org.infinispan.commands.irac.IracRequestStateCommand buildIracRequestStateCommand(IntSet segments) - Specified by:
buildIracRequestStateCommandin interfaceCommandsFactory
-
buildIracStateResponseCommand
public org.infinispan.commands.irac.IracStateResponseCommand buildIracStateResponseCommand(int capacity) - Specified by:
buildIracStateResponseCommandin interfaceCommandsFactory
-
buildIracPutKeyValueCommand
public org.infinispan.commands.write.IracPutKeyValueCommand buildIracPutKeyValueCommand(Object key, int segment, Object value, Metadata metadata, PrivateMetadata privateMetadata) - Specified by:
buildIracPutKeyValueCommandin interfaceCommandsFactory
-
buildIracTouchCommand
- Specified by:
buildIracTouchCommandin interfaceCommandsFactory
-
buildIracUpdateVersionCommand
public org.infinispan.commands.irac.IracUpdateVersionCommand buildIracUpdateVersionCommand(Map<Integer, IracEntryVersion> segmentsVersion) - Specified by:
buildIracUpdateVersionCommandin interfaceCommandsFactory
-
buildXSiteAutoTransferStatusCommand
- Specified by:
buildXSiteAutoTransferStatusCommandin interfaceCommandsFactory
-
buildXSiteSetStateTransferModeCommand
public XSiteSetStateTransferModeCommand buildXSiteSetStateTransferModeCommand(String site, XSiteStateTransferMode mode) - Specified by:
buildXSiteSetStateTransferModeCommandin interfaceCommandsFactory
-
buildIracTombstoneRemoteSiteCheckCommand
public org.infinispan.commands.irac.IracTombstoneRemoteSiteCheckCommand buildIracTombstoneRemoteSiteCheckCommand(List<Object> keys) - Specified by:
buildIracTombstoneRemoteSiteCheckCommandin interfaceCommandsFactory
-
buildIracTombstoneStateResponseCommand
public org.infinispan.commands.irac.IracTombstoneStateResponseCommand buildIracTombstoneStateResponseCommand(Collection<IracTombstoneInfo> state) - Specified by:
buildIracTombstoneStateResponseCommandin interfaceCommandsFactory
-
buildIracTombstonePrimaryCheckCommand
public org.infinispan.commands.irac.IracTombstonePrimaryCheckCommand buildIracTombstonePrimaryCheckCommand(Collection<IracTombstoneInfo> tombstones) - Specified by:
buildIracTombstonePrimaryCheckCommandin interfaceCommandsFactory
-
buildIracPutManyCommand
- Specified by:
buildIracPutManyCommandin interfaceCommandsFactory
-
buildXSiteStatePushRequest
- Specified by:
buildXSiteStatePushRequestin interfaceCommandsFactory
-
buildIracTombstoneCheckRequest
- Specified by:
buildIracTombstoneCheckRequestin interfaceCommandsFactory
-