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.context.impl This package contains different context implementations, selected dynamically based on the type of invocation.org.infinispan.interceptors.distribution Interceptors dealing with command replication in distributed/replicated mode.org.infinispan.interceptors.impl Basic interceptorsorg.infinispan.interceptors.locking Interceptors dealing with locking.org.infinispan.partitionhandling.impl org.infinispan.statetransfer Transfer of state to new caches in a cluster.org.infinispan.transaction.impl 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
class
RemoveCommand
class
RemoveExpiredCommand
Removes an entry that is expired from memoryclass
ReplaceCommand
-
Uses of WriteCommand in org.infinispan.context.impl
Methods in org.infinispan.context.impl that return types with arguments of type WriteCommand Modifier and Type Method Description List<WriteCommand>
AbstractTxInvocationContext. getModifications()
List<WriteCommand>
TxInvocationContext. getModifications()
Returns the modifications performed in the scope of the current transaction. -
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 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.impl
Methods in org.infinispan.interceptors.impl with parameters of type WriteCommand Modifier and Type Method Description protected Object
PrefetchInterceptor. handleWriteManyCommand(InvocationContext ctx, WriteCommand command)
protected boolean
CacheLoaderInterceptor. isConditional(WriteCommand cmd)
protected Object
BiasedEntryWrappingInterceptor. setSkipRemoteGetsAndInvokeNextForManyEntriesCommand(InvocationContext ctx, WriteCommand command)
protected Object
EntryWrappingInterceptor. setSkipRemoteGetsAndInvokeNextForManyEntriesCommand(InvocationContext ctx, WriteCommand command)
Locks the value for the keys accessed by the command to avoid being override from a remote get.protected Object
RetryingEntryWrappingInterceptor. setSkipRemoteGetsAndInvokeNextForManyEntriesCommand(InvocationContext ctx, WriteCommand command)
protected boolean
CacheLoaderInterceptor. skipLoadForWriteCommand(WriteCommand cmd, Object key, InvocationContext ctx)
protected boolean
ClusteredCacheLoaderInterceptor. skipLoadForWriteCommand(WriteCommand cmd, Object key, InvocationContext ctx)
-
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.partitionhandling.impl
Method parameters in org.infinispan.partitionhandling.impl with type arguments of type WriteCommand Modifier and Type Method Description boolean
AvailablePartitionHandlingManager. addPartialCommit1PCTransaction(GlobalTransaction globalTransaction, Collection<Address> affectedNodes, Collection<Object> lockedKeys, List<WriteCommand> modifications)
boolean
PartitionHandlingManager. addPartialCommit1PCTransaction(GlobalTransaction globalTransaction, Collection<Address> affectedNodes, Collection<Object> lockedKeys, List<WriteCommand> modifications)
Adds a partially committed transaction.boolean
PartitionHandlingManagerImpl. addPartialCommit1PCTransaction(GlobalTransaction globalTransaction, Collection<Address> affectedNodes, Collection<Object> lockedKeys, 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.impl
Fields in org.infinispan.transaction.impl with type parameters of type WriteCommand Modifier and Type Field Description protected List<WriteCommand>
AbstractCacheTransaction. modifications
Methods in org.infinispan.transaction.impl that return types with arguments of type WriteCommand Modifier and Type Method Description List<WriteCommand>
AbstractCacheTransaction. getAllModifications()
List<WriteCommand>
AbstractCacheTransaction. getModifications()
Methods in org.infinispan.transaction.impl with parameters of type WriteCommand Modifier and Type Method Description void
LocalTransaction. addModification(WriteCommand mod)
RemoteTransaction
TransactionTable. getOrCreateRemoteTransaction(GlobalTransaction globalTx, WriteCommand[] modifications)
Returns an existing remote transaction or creates one if none exists.Method parameters in org.infinispan.transaction.impl with type arguments of type WriteCommand Modifier and Type Method Description void
AbstractCacheTransaction. setModifications(List<WriteCommand> modifications)
Constructors in org.infinispan.transaction.impl with parameters of type WriteCommand Constructor Description RemoteTransaction(WriteCommand[] modifications, GlobalTransaction tx, int topologyId, long txCreationTime)
-
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 RemoteTransaction
TransactionFactory. newRemoteTransaction(WriteCommand[] modifications, GlobalTransaction tx, int topologyId)
abstract 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)
-