Uses of Interface
org.infinispan.commands.write.WriteCommand
Packages that use WriteCommand
Package
Description
Commands that operate on the cache, either locally or remotely.
Commands that represent transactional lifecycle transitions.
Commands that alter the state of the cache.
This package contains different context implementations, selected dynamically based on the type of invocation.
Interceptors dealing with command replication in distributed/replicated mode.
Basic interceptors
Interceptors dealing with locking.
Interceptors dealing with cross-site replication.
Implementations of the
PersistenceManager interface, which define the logic
of how infinispan interacts with external stores.Transfer of state to new caches in a cluster.
XA transaction support.
This is the private xsite package.
-
Uses of WriteCommand in org.infinispan.commands
Method parameters in org.infinispan.commands with type arguments of type WriteCommandModifier and TypeMethodDescriptionCommandsFactory.buildPrepareCommand(GlobalTransaction gtx, List<WriteCommand> modifications, boolean onePhaseCommit) Builds a PrepareCommandCommandsFactoryImpl.buildPrepareCommand(GlobalTransaction gtx, List<WriteCommand> modifications, boolean onePhaseCommit) CommandsFactory.buildVersionedPrepareCommand(GlobalTransaction gtx, List<WriteCommand> modifications, boolean onePhase) Builds a VersionedPrepareCommandCommandsFactoryImpl.buildVersionedPrepareCommand(GlobalTransaction gtx, List<WriteCommand> modifications, boolean onePhase) -
Uses of WriteCommand in org.infinispan.commands.functional
Classes in org.infinispan.commands.functional that implement WriteCommandModifier and TypeClassDescriptionclassclassfinal classReadWriteKeyCommand<K,V, R> final classReadWriteKeyValueCommand<K,V, T, R> final classReadWriteManyCommand<K,V, R> final classReadWriteManyEntriesCommand<K,V, T, R> final classWriteOnlyKeyCommand<K,V> final classWriteOnlyKeyValueCommand<K,V, T> final classWriteOnlyManyCommand<K,V> final classWriteOnlyManyEntriesCommand<K,V, T> -
Uses of WriteCommand in org.infinispan.commands.triangle
Methods in org.infinispan.commands.triangle with parameters of type WriteCommand -
Uses of WriteCommand in org.infinispan.commands.tx
Fields in org.infinispan.commands.tx with type parameters of type WriteCommandMethods in org.infinispan.commands.tx that return types with arguments of type WriteCommandConstructor parameters in org.infinispan.commands.tx with type arguments of type WriteCommandModifierConstructorDescriptionPrepareCommand(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.write
Subinterfaces of WriteCommand in org.infinispan.commands.writeModifier and TypeInterfaceDescriptioninterfaceMixes features from DataCommand and WriteCommandClasses in org.infinispan.commands.write that implement WriteCommandModifier and TypeClassDescriptionclassStuff common to WriteCommandsclassclassclassclassclassRemoves an entry from memory.classInvalidates an entry in a L1 cache (used with DIST mode)classAWriteCommandused to handle updates from the remote site (for asynchronous cross-site replication).classImplements functionality defined byBasicCache.put(Object, Object)classA command writing multiple key/value pairs with the same metadata.classclassRemoves an entry that is expired from memoryclass -
Uses of WriteCommand in org.infinispan.context.impl
Methods in org.infinispan.context.impl that return types with arguments of type WriteCommandModifier and TypeMethodDescriptionfinal List<WriteCommand> AbstractTxInvocationContext.getModifications()TxInvocationContext.getModifications()Returns the modifications performed in the scope of the current transaction. -
Uses of WriteCommand in org.infinispan.interceptors.distribution
Classes in org.infinispan.interceptors.distribution with type parameters of type WriteCommandModifier and TypeClassDescriptionclassWriteManyCommandHelper<C extends WriteCommand,Container, Item> Methods in org.infinispan.interceptors.distribution with type parameters of type WriteCommandModifier and TypeMethodDescriptionprotected <C extends WriteCommand,Container, Item>
ObjectNonTxDistributionInterceptor.handleReadWriteManyCommand(InvocationContext ctx, C command, WriteManyCommandHelper<C, Item, Container> helper) Methods in org.infinispan.interceptors.distribution with parameters of type WriteCommandModifier and TypeMethodDescriptionprotected voidBaseDistributionInterceptor.handleRemotelyRetrievedKeys(InvocationContext ctx, WriteCommand appliedCommand, List<?> remoteKeys) protected voidTxDistributionInterceptor.handleRemotelyRetrievedKeys(InvocationContext ctx, WriteCommand appliedCommand, List<?> remoteKeys) -
Uses of WriteCommand in org.infinispan.interceptors.impl
Methods in org.infinispan.interceptors.impl that return WriteCommandModifier and TypeMethodDescriptionAbstractIracLocalSiteInterceptor.StreamData.command()Returns the value of thecommandrecord component.Methods in org.infinispan.interceptors.impl with parameters of type WriteCommandModifier and TypeMethodDescriptionprotected intAbstractIracLocalSiteInterceptor.getSegment(WriteCommand command, Object key) protected final booleanCacheLoaderInterceptor.isConditional(WriteCommand cmd) protected static booleanAbstractIracLocalSiteInterceptor.isNormalWriteCommand(WriteCommand command) protected ObjectEntryWrappingInterceptor.setSkipRemoteGetsAndInvokeNextForManyEntriesCommand(InvocationContext ctx, WriteCommand command, CompletionStage<Void> delay) Locks the value for the keys accessed by the command to avoid being override from a remote get.protected booleanAbstractIracLocalSiteInterceptor.skipEntryCommit(InvocationContext ctx, WriteCommand command, Object key) protected booleanCacheLoaderInterceptor.skipLoadForWriteCommand(WriteCommand cmd, Object key, InvocationContext ctx) protected booleanClusteredCacheLoaderInterceptor.skipLoadForWriteCommand(WriteCommand cmd, Object key, InvocationContext ctx) AbstractIracLocalSiteInterceptor.streamKeysFromCommand(WriteCommand command) protected voidAbstractIracLocalSiteInterceptor.visitNonTxKey(InvocationContext ctx, Object key, WriteCommand command) Visits theWriteCommandbefore executing it.Method parameters in org.infinispan.interceptors.impl with type arguments of type WriteCommandModifier and TypeMethodDescriptionAbstractIracLocalSiteInterceptor.streamKeysFromModifications(Stream<WriteCommand> modsStream) Constructors in org.infinispan.interceptors.impl with parameters of type WriteCommandModifierConstructorDescriptionprotectedStreamData(Object key, WriteCommand command, int segment) Creates an instance of aStreamDatarecord class. -
Uses of WriteCommand in org.infinispan.interceptors.locking
Methods in org.infinispan.interceptors.locking with parameters of type WriteCommandModifier and TypeMethodDescriptionprotected abstract <K> ObjectAbstractLockingInterceptor.handleWriteManyCommand(InvocationContext ctx, WriteCommand command, Collection<K> keys, boolean forwarded) protected <K> ObjectNonTransactionalLockingInterceptor.handleWriteManyCommand(InvocationContext ctx, WriteCommand command, Collection<K> keys, boolean forwarded) protected <K> ObjectOptimisticLockingInterceptor.handleWriteManyCommand(InvocationContext ctx, WriteCommand command, Collection<K> keys, boolean forwarded) protected <K> ObjectPessimisticLockingInterceptor.handleWriteManyCommand(InvocationContext ctx, WriteCommand command, Collection<K> keys, boolean forwarded) -
Uses of WriteCommand in org.infinispan.interceptors.xsite
Methods in org.infinispan.interceptors.xsite that return types with arguments of type WriteCommandModifier and TypeMethodDescriptionprotected Stream<WriteCommand> BaseBackupInterceptor.getModificationsFrom(CommitCommand cmd) Method parameters in org.infinispan.interceptors.xsite with type arguments of type WriteCommandModifier and TypeMethodDescriptionStream<org.infinispan.commons.util.SegmentAwareKey<?>> BaseBackupInterceptor.keysFromMods(Stream<WriteCommand> modifications) -
Uses of WriteCommand in org.infinispan.partitionhandling.impl
Method parameters in org.infinispan.partitionhandling.impl with type arguments of type WriteCommandModifier and TypeMethodDescriptionbooleanAvailablePartitionHandlingManager.addPartialCommit1PCTransaction(GlobalTransaction globalTransaction, Collection<Address> affectedNodes, Collection<Object> lockedKeys, List<WriteCommand> modifications) booleanPartitionHandlingManager.addPartialCommit1PCTransaction(GlobalTransaction globalTransaction, Collection<Address> affectedNodes, Collection<Object> lockedKeys, List<WriteCommand> modifications) Adds a partially committed transaction.booleanPartitionHandlingManagerImpl.addPartialCommit1PCTransaction(GlobalTransaction globalTransaction, Collection<Address> affectedNodes, Collection<Object> lockedKeys, List<WriteCommand> modifications) -
Uses of WriteCommand in org.infinispan.persistence.manager
Method parameters in org.infinispan.persistence.manager with type arguments of type WriteCommandModifier and TypeMethodDescriptionPersistenceManager.performBatch(TxInvocationContext<AbstractCacheTransaction> invocationContext, TriPredicate<? super WriteCommand, Object, MVCCEntry<?, ?>> commandKeyPredicate) Writes a batch for the given modifications in the transactional contextPersistenceManagerImpl.performBatch(TxInvocationContext<AbstractCacheTransaction> ctx, TriPredicate<? super WriteCommand, Object, MVCCEntry<?, ?>> commandKeyPredicate) TracedPersistenceManager.performBatch(TxInvocationContext<AbstractCacheTransaction> ctx, TriPredicate<? super WriteCommand, Object, MVCCEntry<?, ?>> commandKeyPredicate) -
Uses of WriteCommand in org.infinispan.persistence.support
Method parameters in org.infinispan.persistence.support with type arguments of type WriteCommandModifier and TypeMethodDescriptionDelegatingPersistenceManager.performBatch(TxInvocationContext<AbstractCacheTransaction> invocationContext, TriPredicate<? super WriteCommand, Object, MVCCEntry<?, ?>> commandKeyPredicate) -
Uses of WriteCommand in org.infinispan.statetransfer
Methods in org.infinispan.statetransfer that return types with arguments of type WriteCommandConstructor parameters in org.infinispan.statetransfer with type arguments of type WriteCommandModifierConstructorDescriptionTransactionInfo(GlobalTransaction globalTransaction, int topologyId, List<WriteCommand> modifications, Set<Object> lockedKeys) -
Uses of WriteCommand in org.infinispan.transaction.impl
Methods in org.infinispan.transaction.impl that return types with arguments of type WriteCommandModifier and TypeMethodDescriptionfinal List<WriteCommand> AbstractCacheTransaction.getAllModifications()ModificationList.getAllModifications()final List<WriteCommand> AbstractCacheTransaction.getModifications()ModificationList.getModifications()Returns a snapshot of this list.Methods in org.infinispan.transaction.impl with parameters of type WriteCommandModifier and TypeMethodDescriptionfinal voidLocalTransaction.addModification(WriteCommand mod) voidModificationList.append(WriteCommand command) Appends theWriteCommandto this list.Method parameters in org.infinispan.transaction.impl with type arguments of type WriteCommandModifier and TypeMethodDescriptionstatic ModificationListModificationList.fromCollection(Collection<WriteCommand> mods) TransactionTable.getOrCreateRemoteTransaction(GlobalTransaction globalTx, List<WriteCommand> modifications) Returns an existing remote transaction or creates one if none exists.TransactionTable.getOrCreateRemoteTransaction(GlobalTransaction globalTx, List<WriteCommand> modifications, int topologyId) final voidAbstractCacheTransaction.setModifications(List<WriteCommand> modifications) Constructor parameters in org.infinispan.transaction.impl with type arguments of type WriteCommandModifierConstructorDescriptionRemoteTransaction(List<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 WriteCommandModifier and TypeMethodDescriptionCacheTransaction.getAllModifications()Returns all the modifications visible within the current transaction, including those using Flag#CACHE_MODE_LOCAL.CacheTransaction.getModifications()Returns the modifications visible within the current transaction.Methods in org.infinispan.transaction.xa with parameters of type WriteCommandModifier and TypeMethodDescriptionTransactionFactory.newRemoteTransaction(WriteCommand[] modifications, GlobalTransaction tx, int topologyId) TransactionFactory.TxFactoryEnum.newRemoteTransaction(WriteCommand[] modifications, GlobalTransaction tx, int topologyId, long txCreationTime) Method parameters in org.infinispan.transaction.xa with type arguments of type WriteCommandModifier and TypeMethodDescriptionTransactionFactory.newRemoteTransaction(List<WriteCommand> modifications, GlobalTransaction gtx, int topologyId) abstract RemoteTransactionTransactionFactory.TxFactoryEnum.newRemoteTransaction(List<WriteCommand> modifications, GlobalTransaction tx, int topologyId, long txCreationTime) -
Uses of WriteCommand in org.infinispan.transaction.xa.recovery
Constructor parameters in org.infinispan.transaction.xa.recovery with type arguments of type WriteCommandModifierConstructorDescriptionRecoveryAwareRemoteTransaction(List<WriteCommand> modifications, GlobalTransaction tx, int topologyId, long txCreationTime) -
Uses of WriteCommand in org.infinispan.xsite
Methods in org.infinispan.xsite with parameters of type WriteCommandModifier and TypeMethodDescriptionBackupSender.backupWrite(WriteCommand command, WriteCommand originalCommand) BackupSenderImpl.backupWrite(WriteCommand command, WriteCommand originalCommand) NoOpBackupSender.backupWrite(WriteCommand command, WriteCommand originalCommand)