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.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.interceptors.xsite Interceptors dealing with cross-site replication.org.infinispan.partitionhandling.impl org.infinispan.persistence.manager Implementations of thePersistenceManagerinterface, which define the logic of how infinispan interacts with external stores.org.infinispan.persistence.support 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 org.infinispan.xsite.irac -
-
Uses of WriteCommand in org.infinispan.commands
Method parameters in org.infinispan.commands with type arguments of type WriteCommand Modifier and Type Method Description PrepareCommandCommandsFactory. buildPrepareCommand(GlobalTransaction gtx, List<WriteCommand> modifications, boolean onePhaseCommit)Builds a PrepareCommandPrepareCommandCommandsFactoryImpl. buildPrepareCommand(GlobalTransaction gtx, List<WriteCommand> modifications, boolean onePhaseCommit)VersionedPrepareCommandCommandsFactory. buildVersionedPrepareCommand(GlobalTransaction gtx, List<WriteCommand> modifications, boolean onePhase)Builds a VersionedPrepareCommandVersionedPrepareCommandCommandsFactoryImpl. 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 classAbstractWriteKeyCommand<K,V>classAbstractWriteManyCommand<K,V>classReadWriteKeyCommand<K,V,R>classReadWriteKeyValueCommand<K,V,T,R>classReadWriteManyCommand<K,V,R>classReadWriteManyEntriesCommand<K,V,T,R>classWriteOnlyKeyCommand<K,V>classWriteOnlyKeyValueCommand<K,V,T>classWriteOnlyManyCommand<K,V>classWriteOnlyManyEntriesCommand<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. modificationsMethods 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.write
Subinterfaces of WriteCommand in org.infinispan.commands.write Modifier and Type Interface Description interfaceDataWriteCommandMixes features from DataCommand and WriteCommandClasses in org.infinispan.commands.write that implement WriteCommand Modifier and Type Class Description classAbstractDataWriteCommandStuff common to WriteCommandsclassClearCommandclassComputeCommandclassComputeIfAbsentCommandclassEvictCommandclassInvalidateCommandRemoves an entry from memory.classInvalidateL1CommandInvalidates an entry in a L1 cache (used with DIST mode)classPutKeyValueCommandImplements functionality defined byBasicCache.put(Object, Object)classPutMapCommandA command writing multiple key/value pairs with the same metadata.classRemoveCommandclassRemoveExpiredCommandRemoves an entry that is expired from memoryclassReplaceCommand -
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 voidBiasedScatteredDistributionInterceptor. completeManyWriteOnPrimaryOriginator(WriteCommand command, Address backup, org.infinispan.interceptors.distribution.CountDownCompletableFuture future)protected voidScatteredDistributionInterceptor. 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 voidBaseDistributionInterceptor. handleRemotelyRetrievedKeys(InvocationContext ctx, WriteCommand appliedCommand, List<?> remoteKeys)protected voidTxDistributionInterceptor. 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 ObjectBiasedScatteredDistributionInterceptor. manyWriteResponse(InvocationContext ctx, WriteCommand cmd, Object returnValue)protected ObjectScatteredDistributionInterceptor. 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 intAbstractIracLocalSiteInterceptor. getSegment(WriteCommand command, Object key)protected ObjectPrefetchInterceptor. handleWriteManyCommand(InvocationContext ctx, WriteCommand command)protected booleanCacheLoaderInterceptor. isConditional(WriteCommand cmd)protected static booleanAbstractIracLocalSiteInterceptor. isNormalWriteCommand(WriteCommand command)protected ObjectBiasedEntryWrappingInterceptor. setSkipRemoteGetsAndInvokeNextForManyEntriesCommand(InvocationContext ctx, WriteCommand command, CompletionStage<Void> delay)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 ObjectRetryingEntryWrappingInterceptor. setSkipRemoteGetsAndInvokeNextForManyEntriesCommand(InvocationContext ctx, WriteCommand command, CompletionStage<Void> delay)protected booleanCacheLoaderInterceptor. skipLoadForWriteCommand(WriteCommand cmd, Object key, InvocationContext ctx)protected booleanClusteredCacheLoaderInterceptor. skipLoadForWriteCommand(WriteCommand cmd, Object key, InvocationContext ctx)protected Stream<org.infinispan.interceptors.impl.AbstractIracLocalSiteInterceptor.StreamData>AbstractIracLocalSiteInterceptor. streamKeysFromCommand(WriteCommand command)protected Stream<org.infinispan.interceptors.impl.AbstractIracLocalSiteInterceptor.StreamData>AbstractIracLocalSiteInterceptor. streamKeysFromModifications(WriteCommand[] mods)Method parameters in org.infinispan.interceptors.impl with type arguments of type WriteCommand Modifier and Type Method Description protected Stream<org.infinispan.interceptors.impl.AbstractIracLocalSiteInterceptor.StreamData>AbstractIracLocalSiteInterceptor. streamKeysFromModifications(Stream<WriteCommand> modsStream) -
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> 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 WriteCommand Modifier and Type Method Description protected Stream<WriteCommand>BaseBackupInterceptor. getModificationsFrom(CommitCommand cmd) -
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 booleanAvailablePartitionHandlingManager. 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 WriteCommand Modifier and Type Method Description CompletionStage<Long>PersistenceManager. performBatch(TxInvocationContext<AbstractCacheTransaction> invocationContext, BiPredicate<? super WriteCommand,Object> commandKeyPredicate)Writes a batch for the given modifications in the transactional contextCompletionStage<Long>PersistenceManagerImpl. performBatch(TxInvocationContext<AbstractCacheTransaction> ctx, BiPredicate<? super WriteCommand,Object> commandKeyPredicate)CompletionStage<Long>PersistenceManagerStub. performBatch(TxInvocationContext<AbstractCacheTransaction> invocationContext, BiPredicate<? super WriteCommand,Object> commandKeyPredicate) -
Uses of WriteCommand in org.infinispan.persistence.support
Method parameters in org.infinispan.persistence.support with type arguments of type WriteCommand Modifier and Type Method Description CompletionStage<Long>DelegatingPersistenceManager. performBatch(TxInvocationContext<AbstractCacheTransaction> invocationContext, BiPredicate<? super WriteCommand,Object> commandKeyPredicate) -
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. modificationsMethods 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 voidLocalTransaction. addModification(WriteCommand mod)RemoteTransactionTransactionTable. 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 voidAbstractCacheTransaction. 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 RemoteTransactionTransactionFactory. newRemoteTransaction(WriteCommand[] modifications, GlobalTransaction tx, int topologyId)abstract RemoteTransactionTransactionFactory.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 InvocationStageBackupSender. backupWrite(WriteCommand command, WriteCommand originalCommand)InvocationStageBackupSenderImpl. backupWrite(WriteCommand command, WriteCommand originalCommand)InvocationStageNoOpBackupSender. backupWrite(WriteCommand command, WriteCommand originalCommand) -
Uses of WriteCommand in org.infinispan.xsite.irac
Method parameters in org.infinispan.xsite.irac with type arguments of type WriteCommand Modifier and Type Method Description Stream<?>DefaultIracManager. keysFromMods(Stream<WriteCommand> modifications)voidDefaultIracManager. trackKeysFromTransaction(Stream<WriteCommand> modifications, GlobalTransaction lockOwner)voidIracManager. trackKeysFromTransaction(Stream<WriteCommand> modifications, GlobalTransaction lockOwner)Sets all keys affected by the transaction as changed.voidNoOpIracManager. trackKeysFromTransaction(Stream<WriteCommand> modifications, GlobalTransaction lockOwner)
-