Uses of Interface
org.infinispan.commands.write.WriteCommand
-
Packages that use WriteCommand Package Description org.infinispan.commands Commands that operate on the cache, either locally or remotely.org.infinispan.commands.functional org.infinispan.commands.tx Commands that represent transactional lifecycle transitions.org.infinispan.commands.tx.totalorder org.infinispan.commands.write Commands that alter the state of the cache.org.infinispan.interceptors.distribution Interceptors dealing with command replication in distributed/replicated mode.org.infinispan.interceptors.locking Interceptors dealing with locking.org.infinispan.server.hotrod.tx org.infinispan.server.hotrod.tx.table org.infinispan.server.hotrod.tx.table.functions org.infinispan.statetransfer Transfer of state to new caches in a cluster.org.infinispan.transaction.xa XA transaction support.org.infinispan.transaction.xa.recovery org.infinispan.xsite -
-
Uses of WriteCommand in org.infinispan.commands
Method parameters in org.infinispan.commands with type arguments of type WriteCommand Modifier and Type Method Description PrepareCommand
CommandsFactory. buildPrepareCommand(GlobalTransaction gtx, List<WriteCommand> modifications, boolean onePhaseCommit)
Builds a PrepareCommandPrepareCommand
CommandsFactoryImpl. buildPrepareCommand(GlobalTransaction gtx, List<WriteCommand> modifications, boolean onePhaseCommit)
VersionedPrepareCommand
CommandsFactory. buildVersionedPrepareCommand(GlobalTransaction gtx, List<WriteCommand> modifications, boolean onePhase)
Builds a VersionedPrepareCommandVersionedPrepareCommand
CommandsFactoryImpl. buildVersionedPrepareCommand(GlobalTransaction gtx, List<WriteCommand> modifications, boolean onePhase)
-
Uses of WriteCommand in org.infinispan.commands.functional
Classes in org.infinispan.commands.functional that implement WriteCommand Modifier and Type Class Description class
AbstractWriteKeyCommand<K,V>
class
AbstractWriteManyCommand<K,V>
class
ReadWriteKeyCommand<K,V,R>
class
ReadWriteKeyValueCommand<K,V,T,R>
class
ReadWriteManyCommand<K,V,R>
class
ReadWriteManyEntriesCommand<K,V,T,R>
class
WriteOnlyKeyCommand<K,V>
class
WriteOnlyKeyValueCommand<K,V,T>
class
WriteOnlyManyCommand<K,V>
class
WriteOnlyManyEntriesCommand<K,V,T>
-
Uses of WriteCommand in org.infinispan.commands.tx
Fields in org.infinispan.commands.tx declared as WriteCommand Modifier and Type Field Description protected WriteCommand[]
PrepareCommand. modifications
Methods in org.infinispan.commands.tx that return WriteCommand Modifier and Type Method Description WriteCommand[]
PrepareCommand. getModifications()
Constructors in org.infinispan.commands.tx with parameters of type WriteCommand Constructor Description PrepareCommand(ByteString cacheName, GlobalTransaction gtx, boolean onePhaseCommit, WriteCommand... modifications)
Constructor parameters in org.infinispan.commands.tx with type arguments of type WriteCommand Constructor Description PrepareCommand(ByteString cacheName, GlobalTransaction gtx, List<WriteCommand> commands, boolean onePhaseCommit)
VersionedPrepareCommand(ByteString cacheName, GlobalTransaction gtx, List<WriteCommand> modifications, boolean onePhase)
-
Uses of WriteCommand in org.infinispan.commands.tx.totalorder
Methods in org.infinispan.commands.tx.totalorder that return WriteCommand Modifier and Type Method Description WriteCommand[]
TotalOrderPrepareCommand. getModifications()
Constructors in org.infinispan.commands.tx.totalorder with parameters of type WriteCommand Constructor Description TotalOrderNonVersionedPrepareCommand(ByteString cacheName, GlobalTransaction gtx, WriteCommand... modifications)
Constructor parameters in org.infinispan.commands.tx.totalorder with type arguments of type WriteCommand Constructor Description TotalOrderNonVersionedPrepareCommand(ByteString cacheName, GlobalTransaction gtx, List<WriteCommand> commands)
TotalOrderVersionedPrepareCommand(ByteString cacheName, GlobalTransaction gtx, List<WriteCommand> modifications, boolean onePhase)
-
Uses of WriteCommand in org.infinispan.commands.write
Subinterfaces of WriteCommand in org.infinispan.commands.write Modifier and Type Interface Description interface
DataWriteCommand
Mixes features from DataCommand and WriteCommandClasses in org.infinispan.commands.write that implement WriteCommand Modifier and Type Class Description class
AbstractDataWriteCommand
Stuff common to WriteCommandsclass
ApplyDeltaCommand
Deprecated.since 9.1class
ClearCommand
class
ComputeCommand
class
ComputeIfAbsentCommand
class
EvictCommand
class
InvalidateCommand
Removes an entry from memory.class
InvalidateL1Command
Invalidates an entry in a L1 cache (used with DIST mode)class
PutKeyValueCommand
Implements functionality defined byBasicCache.put(Object, Object)
class
PutMapCommand
A command writing multiple key/value pairs with the same metadata.class
RemoveCommand
class
RemoveExpiredCommand
Removes an entry that is expired from memoryclass
ReplaceCommand
-
Uses of WriteCommand in org.infinispan.interceptors.distribution
Methods in org.infinispan.interceptors.distribution with type parameters of type WriteCommand Modifier and Type Method Description protected <C extends WriteCommand>
CommandAckCollector.MultiTargetCollectorBiasedScatteredDistributionInterceptor. createMultiTargetCollector(C command, int primaries)
protected <C extends WriteCommand>
CommandAckCollector.MultiTargetCollectorScatteredDistributionInterceptor. createMultiTargetCollector(C command, int primaries)
Methods in org.infinispan.interceptors.distribution with parameters of type WriteCommand Modifier and Type Method Description protected void
BiasedScatteredDistributionInterceptor. completeManyWriteOnPrimaryOriginator(WriteCommand command, Address backup, org.infinispan.interceptors.distribution.CountDownCompletableFuture future)
protected void
ScatteredDistributionInterceptor. completeManyWriteOnPrimaryOriginator(WriteCommand command, Address backup, org.infinispan.interceptors.distribution.CountDownCompletableFuture future)
This is a hook for bias-enabled mode where the primary performs additional RPCs but replication to another node.protected void
BaseDistributionInterceptor. handleRemotelyRetrievedKeys(InvocationContext ctx, WriteCommand appliedCommand, List<?> remoteKeys)
protected void
TxDistributionInterceptor. handleRemotelyRetrievedKeys(InvocationContext ctx, WriteCommand appliedCommand, List<?> remoteKeys)
protected CompletionStage<ValidResponse>
BiasedScatteredDistributionInterceptor. manyWriteOnRemotePrimary(Address target, WriteCommand command, CommandAckCollector.MultiTargetCollector multiTargetCollector)
protected CompletionStage<ValidResponse>
ScatteredDistributionInterceptor. manyWriteOnRemotePrimary(Address target, WriteCommand command, CommandAckCollector.MultiTargetCollector multiTargetCollector)
protected Object
BiasedScatteredDistributionInterceptor. manyWriteResponse(InvocationContext ctx, WriteCommand cmd, Object returnValue)
protected Object
ScatteredDistributionInterceptor. manyWriteResponse(InvocationContext ctx, WriteCommand cmd, Object returnValue)
-
Uses of WriteCommand in org.infinispan.interceptors.locking
Methods in org.infinispan.interceptors.locking with parameters of type WriteCommand Modifier and Type Method Description protected abstract <K> Object
AbstractLockingInterceptor. handleWriteManyCommand(InvocationContext ctx, WriteCommand command, Collection<K> keys, boolean forwarded)
protected <K> Object
NonTransactionalLockingInterceptor. handleWriteManyCommand(InvocationContext ctx, WriteCommand command, Collection<K> keys, boolean forwarded)
protected <K> Object
OptimisticLockingInterceptor. handleWriteManyCommand(InvocationContext ctx, WriteCommand command, Collection<K> keys, boolean forwarded)
protected <K> Object
PessimisticLockingInterceptor. handleWriteManyCommand(InvocationContext ctx, WriteCommand command, Collection<K> keys, boolean forwarded)
-
Uses of WriteCommand in org.infinispan.server.hotrod.tx
Method parameters in org.infinispan.server.hotrod.tx with type arguments of type WriteCommand Modifier and Type Method Description int
PrepareCoordinator. onePhaseCommitRemoteTransaction(GlobalTransaction gtx, List<WriteCommand> modifications)
Commits a remote 1PC transaction that is already in MARK_COMMIT state -
Uses of WriteCommand in org.infinispan.server.hotrod.tx.table
Methods in org.infinispan.server.hotrod.tx.table that return types with arguments of type WriteCommand Modifier and Type Method Description List<WriteCommand>
TxState. getModifications()
Method parameters in org.infinispan.server.hotrod.tx.table with type arguments of type WriteCommand Modifier and Type Method Description TxState
TxState. markPreparing(List<WriteCommand> modifications, TimeService timeService)
-
Uses of WriteCommand in org.infinispan.server.hotrod.tx.table.functions
Constructor parameters in org.infinispan.server.hotrod.tx.table.functions with type arguments of type WriteCommand Constructor Description PreparingDecisionFunction(List<WriteCommand> modifications)
-
Uses of WriteCommand in org.infinispan.statetransfer
Methods in org.infinispan.statetransfer that return WriteCommand Modifier and Type Method Description WriteCommand[]
TransactionInfo. getModifications()
Constructors in org.infinispan.statetransfer with parameters of type WriteCommand Constructor Description TransactionInfo(GlobalTransaction globalTransaction, int topologyId, WriteCommand[] modifications, Set<Object> lockedKeys)
-
Uses of WriteCommand in org.infinispan.transaction.xa
Methods in org.infinispan.transaction.xa that return types with arguments of type WriteCommand Modifier and Type Method Description List<WriteCommand>
CacheTransaction. getAllModifications()
Returns all the modifications visible within the current transaction, including those using Flag#CACHE_MODE_LOCAL.List<WriteCommand>
CacheTransaction. getModifications()
Returns the modifications visible within the current transaction.Methods in org.infinispan.transaction.xa with parameters of type WriteCommand Modifier and Type Method Description org.infinispan.transaction.impl.RemoteTransaction
TransactionFactory. newRemoteTransaction(WriteCommand[] modifications, GlobalTransaction tx, int topologyId)
abstract org.infinispan.transaction.impl.RemoteTransaction
TransactionFactory.TxFactoryEnum. newRemoteTransaction(WriteCommand[] modifications, GlobalTransaction tx, int topologyId, long txCreationTime)
-
Uses of WriteCommand in org.infinispan.transaction.xa.recovery
Constructors in org.infinispan.transaction.xa.recovery with parameters of type WriteCommand Constructor Description RecoveryAwareRemoteTransaction(WriteCommand[] modifications, GlobalTransaction tx, int topologyId, long txCreationTime)
-
Uses of WriteCommand in org.infinispan.xsite
Methods in org.infinispan.xsite with parameters of type WriteCommand Modifier and Type Method Description BackupResponse
BackupSender. backupWrite(WriteCommand command)
BackupResponse
BackupSenderImpl. backupWrite(WriteCommand command)
-