Uses of Interface
org.infinispan.commands.VisitableCommand
-
Packages that use VisitableCommand Package Description org.infinispan.cache.impl org.infinispan.commands Commands that operate on the cache, either locally or remotely.org.infinispan.commands.control org.infinispan.commands.functional org.infinispan.commands.read org.infinispan.commands.remote Meta-commands that wrap other commands for remote execution.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 Contexts contain information of a specific invocation on the cache, such as its origins, scope (transactional or non-transactional), as well as invocation-specific flags.org.infinispan.context.impl This package contains different context implementations, selected dynamically based on the type of invocation.org.infinispan.functional.impl org.infinispan.interceptors Infinispan is designed around a set of interceptors around a data container.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.xsite -
-
Uses of VisitableCommand in org.infinispan.cache.impl
-
Uses of VisitableCommand in org.infinispan.commands
Subinterfaces of VisitableCommand in org.infinispan.commands Modifier and Type Interface Description interfaceDataCommandCommands of this type manipulate data in the cache.interfaceFlagAffectedCommandFlags modify behavior of command such as whether or not to invoke certain commands remotely, check cache store etc.Classes in org.infinispan.commands that implement VisitableCommand Modifier and Type Class Description classAbstractFlagAffectedCommandBase class for those commands that can carry flags.classAbstractTopologyAffectedCommandBase class for commands that carry topology id.Methods in org.infinispan.commands with parameters of type VisitableCommand Modifier and Type Method Description SingleRpcCommandCommandsFactory. buildSingleRpcCommand(VisitableCommand command)Builds a SingleRpcCommand "envelope" containing a single ReplicableCommandSingleRpcCommandCommandsFactoryImpl. buildSingleRpcCommand(VisitableCommand call)SingleXSiteRpcCommandCommandsFactory. buildSingleXSiteRpcCommand(VisitableCommand command)Builds SingleRpcCommand used to performVisitableCommandon the backup site,SingleXSiteRpcCommandCommandsFactoryImpl. buildSingleXSiteRpcCommand(VisitableCommand command)protected ObjectAbstractVisitor. handleDefault(InvocationContext ctx, VisitableCommand command)A default handler for all commands visited.ObjectAbstractVisitor. visitUnknownCommand(InvocationContext ctx, VisitableCommand command)ObjectVisitor. visitUnknownCommand(InvocationContext ctx, VisitableCommand command)Deprecated.since 11.0 will be removed in the next major version with no direct replacement.Method parameters in org.infinispan.commands with type arguments of type VisitableCommand Modifier and Type Method Description voidAbstractVisitor. visitCollection(InvocationContext ctx, Collection<? extends VisitableCommand> toVisit)Helper method to visit a collection of VisitableCommands. -
Uses of VisitableCommand in org.infinispan.commands.control
Classes in org.infinispan.commands.control that implement VisitableCommand Modifier and Type Class Description classLockControlCommandLockControlCommand is a command that enables distributed locking across infinispan nodes. -
Uses of VisitableCommand in org.infinispan.commands.functional
Classes in org.infinispan.commands.functional that implement VisitableCommand Modifier and Type Class Description classAbstractWriteKeyCommand<K,V>classAbstractWriteManyCommand<K,V>classReadOnlyKeyCommand<K,V,R>classReadOnlyManyCommand<K,V,R>classReadWriteKeyCommand<K,V,R>classReadWriteKeyValueCommand<K,V,T,R>classReadWriteManyCommand<K,V,R>classReadWriteManyEntriesCommand<K,V,T,R>classTxReadOnlyKeyCommand<K,V,R>classTxReadOnlyManyCommand<K,V,R>classWriteOnlyKeyCommand<K,V>classWriteOnlyKeyValueCommand<K,V,T>classWriteOnlyManyCommand<K,V>classWriteOnlyManyEntriesCommand<K,V,T> -
Uses of VisitableCommand in org.infinispan.commands.read
Classes in org.infinispan.commands.read that implement VisitableCommand Modifier and Type Class Description classAbstractDataCommandclassAbstractLocalCommandAbstract classclassEntrySetCommand<K,V>Command implementation forMap.entrySet()functionality.classGetAllCommandRetrieves multiple entries at once.classGetCacheEntryCommandUsed to fetch a full CacheEntry rather than just the value.classGetKeyValueCommandImplements functionality defined byMap.get(Object)andMap.containsKey(Object)operationsclassKeySetCommand<K,V>Command implementation forMap.keySet()functionality.classSizeCommandCommand to calculate the size of the cache -
Uses of VisitableCommand in org.infinispan.commands.remote
Classes in org.infinispan.commands.remote that implement VisitableCommand Modifier and Type Class Description classGetKeysInGroupCommandVisitableCommandthat fetches the keys belonging to a group.Constructors in org.infinispan.commands.remote with parameters of type VisitableCommand Constructor Description SingleRpcCommand(ByteString cacheName, VisitableCommand command) -
Uses of VisitableCommand in org.infinispan.commands.tx
Subinterfaces of VisitableCommand in org.infinispan.commands.tx Modifier and Type Interface Description interfaceTransactionBoundaryCommandAn transaction boundary command that allows the retrieval of an attachedGlobalTransactionClasses in org.infinispan.commands.tx that implement VisitableCommand Modifier and Type Class Description classAbstractTransactionBoundaryCommandAn abstract transaction boundary command that holds a reference to aGlobalTransactionclassCommitCommandCommand corresponding to the 2nd phase of 2PC.classPrepareCommandCommand corresponding to the 1st phase of 2PC.classRollbackCommandCommand corresponding to a transaction rollback.classVersionedCommitCommandThe same as aCommitCommandexcept that version information is also carried by this command, used by optimistically transactional caches making use of write skew checking when usingIsolationLevel.REPEATABLE_READ.classVersionedPrepareCommandSame asPrepareCommandexcept that the transaction originator makes evident the versions of entries touched and stored in a transaction context so that accurate write skew checks may be performed by the lock owner(s). -
Uses of VisitableCommand in org.infinispan.commands.write
Subinterfaces of VisitableCommand in org.infinispan.commands.write Modifier and Type Interface Description interfaceDataWriteCommandMixes features from DataCommand and WriteCommandinterfaceWriteCommandA command that modifies the cache in some wayClasses in org.infinispan.commands.write that implement VisitableCommand 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 VisitableCommand in org.infinispan.context
Methods in org.infinispan.context with parameters of type VisitableCommand Modifier and Type Method Description InvocationContextInvocationContextFactory. createRemoteInvocationContextForCommand(VisitableCommand cacheCommand, Address origin)AsInvocationContextFactory.createRemoteInvocationContext(org.infinispan.remoting.transport.Address), but returning the flags to the context from the Command if any Flag was set. -
Uses of VisitableCommand in org.infinispan.context.impl
Methods in org.infinispan.context.impl with parameters of type VisitableCommand Modifier and Type Method Description InvocationContextAbstractInvocationContextFactory. createRemoteInvocationContextForCommand(VisitableCommand cacheCommand, Address origin) -
Uses of VisitableCommand in org.infinispan.functional.impl
Methods in org.infinispan.functional.impl with parameters of type VisitableCommand Modifier and Type Method Description static ObjectStatsEnvelope. unpack(InvocationContext ctx, VisitableCommand command, Object o)static ObjectStatsEnvelope. unpackCollection(InvocationContext ctx, VisitableCommand command, Object o)static ObjectStatsEnvelope. unpackStream(InvocationContext ctx, VisitableCommand command, Object o) -
Uses of VisitableCommand in org.infinispan.interceptors
Classes in org.infinispan.interceptors with type parameters of type VisitableCommand Modifier and Type Interface Description interfaceInvocationCallback<C extends VisitableCommand>Base interface for all callbacks used byBaseAsyncInterceptorandInvocationStagemethods.interfaceInvocationExceptionFunction<C extends VisitableCommand>interfaceInvocationFinallyAction<C extends VisitableCommand>interfaceInvocationFinallyFunction<C extends VisitableCommand>interfaceInvocationSuccessAction<C extends VisitableCommand>interfaceInvocationSuccessFunction<C extends VisitableCommand>Methods in org.infinispan.interceptors with type parameters of type VisitableCommand Modifier and Type Method Description abstract <C extends VisitableCommand>
ObjectInvocationStage. addCallback(InvocationContext ctx, C command, InvocationCallback<C> function)After the current stage completes, invokefunctionand return its result.<C extends VisitableCommand>
ObjectSyncInvocationStage. addCallback(InvocationContext ctx, C command, InvocationCallback<C> function)<C extends VisitableCommand>
ObjectInvocationStage. andExceptionally(InvocationContext ctx, C command, InvocationExceptionFunction<C> function)After the current stage completes exceptionally, invokefunctionand return its result.<C extends VisitableCommand>
ObjectSyncInvocationStage. andExceptionally(InvocationContext ctx, C command, InvocationExceptionFunction<C> function)<C extends VisitableCommand>
InvocationStageInvocationStage. andExceptionallyMakeStage(InvocationContext ctx, C command, InvocationExceptionFunction<C> function)After the current stage completes exceptionally, invokefunctionand return its result.<C extends VisitableCommand>
InvocationStageSyncInvocationStage. andExceptionallyMakeStage(InvocationContext ctx, C command, InvocationExceptionFunction<C> function)<C extends VisitableCommand>
ObjectInvocationStage. andFinally(InvocationContext ctx, C command, InvocationFinallyAction<C> action)After the current stage completes, invokeaction.<C extends VisitableCommand>
ObjectSyncInvocationStage. andFinally(InvocationContext ctx, C command, InvocationFinallyAction<C> action)<C extends VisitableCommand>
InvocationStageInvocationStage. andFinallyMakeStage(InvocationContext ctx, C command, InvocationFinallyAction<C> action)After the current stage completes, invokeaction.<C extends VisitableCommand>
InvocationStageSyncInvocationStage. andFinallyMakeStage(InvocationContext ctx, C command, InvocationFinallyAction<C> action)<C extends VisitableCommand>
ObjectInvocationStage. andHandle(InvocationContext ctx, C command, InvocationFinallyFunction<C> function)After the current stage completes, invokefunctionand return its result.<C extends VisitableCommand>
ObjectSyncInvocationStage. andHandle(InvocationContext ctx, C command, InvocationFinallyFunction<C> function)<C extends VisitableCommand>
InvocationStageInvocationStage. andHandleMakeStage(InvocationContext ctx, C command, InvocationFinallyFunction<C> function)After the current stage completes, invokefunctionand return its result.<C extends VisitableCommand>
InvocationStageSyncInvocationStage. andHandleMakeStage(InvocationContext ctx, C command, InvocationFinallyFunction<C> function)<C extends VisitableCommand>
ObjectBaseAsyncInterceptor. invokeNextAndExceptionally(InvocationContext ctx, C command, InvocationExceptionFunction<C> function)Invoke the next interceptor, possibly with a new command, and execute anInvocationCallbackafter all the interceptors have finished with an exception.<C extends VisitableCommand>
ObjectBaseAsyncInterceptor. invokeNextAndFinally(InvocationContext ctx, C command, InvocationFinallyAction<C> action)Invoke the next interceptor, possibly with a new command, and execute anInvocationCallbackafter all the interceptors have finished, with or without an exception.<C extends VisitableCommand>
ObjectBaseAsyncInterceptor. invokeNextAndHandle(InvocationContext ctx, C command, InvocationFinallyFunction<C> function)Invoke the next interceptor, possibly with a new command, and execute anInvocationCallbackafter all the interceptors have finished, with or without an exception.<C extends VisitableCommand>
ObjectBaseAsyncInterceptor. invokeNextThenAccept(InvocationContext ctx, C command, InvocationSuccessAction<C> action)Invoke the next interceptor, possibly with a new command, and execute anInvocationCallbackafter all the interceptors have finished successfully.<C extends VisitableCommand>
ObjectBaseAsyncInterceptor. invokeNextThenApply(InvocationContext ctx, C command, InvocationSuccessFunction<C> function)Invoke the next interceptor, possibly with a new command, and execute anInvocationCallbackafter all the interceptors have finished successfully.<C extends VisitableCommand>
ObjectInvocationStage. thenAccept(InvocationContext ctx, C command, InvocationSuccessAction<C> action)After the current stage completes successfully, invokeaction.<C extends VisitableCommand>
ObjectSyncInvocationStage. thenAccept(InvocationContext ctx, C command, InvocationSuccessAction<C> action)<C extends VisitableCommand>
InvocationStageInvocationStage. thenAcceptMakeStage(InvocationContext ctx, C command, InvocationSuccessAction<C> action)After the current stage completes successfully, invokeaction.<C extends VisitableCommand>
InvocationStageSyncInvocationStage. thenAcceptMakeStage(InvocationContext ctx, C command, InvocationSuccessAction<C> action)<C extends VisitableCommand>
ObjectInvocationStage. thenApply(InvocationContext ctx, C command, InvocationSuccessFunction<C> function)After the current stage completes successfully, invokefunctionand return its result.<C extends VisitableCommand>
ObjectSyncInvocationStage. thenApply(InvocationContext ctx, C command, InvocationSuccessFunction<C> function)<C extends VisitableCommand>
InvocationStageInvocationStage. thenApplyMakeStage(InvocationContext ctx, C command, InvocationSuccessFunction<C> function)After the current stage completes successfully, invokefunctionand return its result.<C extends VisitableCommand>
InvocationStageSyncInvocationStage. thenApplyMakeStage(InvocationContext ctx, C command, InvocationSuccessFunction<C> function)After the current stage completes successfully, invokefunctionand return its result.Methods in org.infinispan.interceptors with parameters of type VisitableCommand Modifier and Type Method Description ObjectExceptionSyncInvocationStage. addCallback(InvocationContext ctx, VisitableCommand command, InvocationCallback function)ObjectExceptionSyncInvocationStage. andExceptionally(InvocationContext ctx, VisitableCommand command, InvocationExceptionFunction function)ObjectExceptionSyncInvocationStage. andFinally(InvocationContext ctx, VisitableCommand command, InvocationFinallyAction action)ObjectExceptionSyncInvocationStage. andHandle(InvocationContext ctx, VisitableCommand command, InvocationFinallyFunction function)ObjectBaseAsyncInterceptor. asyncInvokeNext(InvocationContext ctx, VisitableCommand command, Collection<? extends CompletionStage<?>> delays)Suspend invocation until alldelayscomplete, then if successful invoke the next interceptor.ObjectBaseAsyncInterceptor. asyncInvokeNext(InvocationContext ctx, VisitableCommand command, CompletionStage<?> delay)Suspend the invocation untildelaycompletes, then if successful invoke the next interceptor.ObjectBaseAsyncInterceptor. asyncInvokeNext(InvocationContext ctx, VisitableCommand command, InvocationStage invocationStage)Suspend the invocation untilinvocationStagecompletes, then if successful invoke the next interceptor.protected ObjectDDAsyncInterceptor. handleDefault(InvocationContext ctx, VisitableCommand command)ObjectAsyncInterceptorChain. invoke(InvocationContext ctx, VisitableCommand command)Walks the command through the interceptor chain.ObjectEmptyAsyncInterceptorChain. invoke(InvocationContext ctx, VisitableCommand command)CompletableFuture<Object>AsyncInterceptorChain. invokeAsync(InvocationContext ctx, VisitableCommand command)Walks the command through the interceptor chain.CompletableFuture<Object>EmptyAsyncInterceptorChain. invokeAsync(InvocationContext ctx, VisitableCommand command)ObjectBaseAsyncInterceptor. invokeNext(InvocationContext ctx, VisitableCommand command)Invoke the next interceptor, possibly with a new command.ObjectExceptionSyncInvocationStage. thenAccept(InvocationContext ctx, VisitableCommand command, InvocationSuccessAction function)ObjectExceptionSyncInvocationStage. thenApply(InvocationContext ctx, VisitableCommand command, InvocationSuccessFunction function)ObjectExceptionSyncInvocationStage. thenReturn(InvocationContext ctx, VisitableCommand command, Object returnValue)ObjectInvocationStage. thenReturn(InvocationContext ctx, VisitableCommand command, Object returnValue)Overrides the return value of thisInvocationStageif it is completed successfully.ObjectSyncInvocationStage. thenReturn(InvocationContext ctx, VisitableCommand command, Object returnValue)ObjectAsyncInterceptor. visitCommand(InvocationContext ctx, VisitableCommand command)Perform some work for a command invocation.ObjectDDAsyncInterceptor. visitCommand(InvocationContext ctx, VisitableCommand command)ObjectDDAsyncInterceptor. visitUnknownCommand(InvocationContext ctx, VisitableCommand command) -
Uses of VisitableCommand in org.infinispan.interceptors.distribution
Classes in org.infinispan.interceptors.distribution with type parameters of type VisitableCommand Modifier and Type Interface Description protected static interfaceBaseDistributionInterceptor.ReadManyCommandHelper<C extends VisitableCommand>Methods in org.infinispan.interceptors.distribution with type parameters of type VisitableCommand Modifier and Type Method Description protected <C extends VisitableCommand & FlagAffectedCommand & TopologyAffectedCommand,K>
ObjectTxDistributionInterceptor. handleTxWriteManyCommand(InvocationContext ctx, C command, Collection<K> keys, BiFunction<C,List<K>,C> copyCommand)Methods in org.infinispan.interceptors.distribution with parameters of type VisitableCommand Modifier and Type Method Description ObjectScatteredDistributionInterceptor.PrimaryResponseHandler. apply(InvocationContext rCtx, VisitableCommand rCommand, Object rv) -
Uses of VisitableCommand in org.infinispan.interceptors.impl
Methods in org.infinispan.interceptors.impl with type parameters of type VisitableCommand Modifier and Type Method Description <C extends VisitableCommand>
ObjectSimpleAsyncInvocationStage. addCallback(InvocationContext ctx, C command, InvocationCallback<C> function)protected <C extends VisitableCommand & TopologyAffectedCommand & FlagAffectedCommand>
ObjectBaseStateTransferInterceptor. handleReadCommand(InvocationContext ctx, C command)protected <T extends VisitableCommand>
ObjectBaseStateTransferInterceptor. retryWhenDone(CompletableFuture<Void> future, int topologyId, InvocationContext ctx, T command, InvocationFinallyFunction<T> callback)Method parameters in org.infinispan.interceptors.impl with type arguments of type VisitableCommand Modifier and Type Method Description static ObjectMultiSubCommandInvoker. invokeEach(InvocationContext ctx, Iterator<VisitableCommand> subCommands, BaseAsyncInterceptor interceptor, Object finalReturnValue)CallBaseAsyncInterceptor.invokeNext(InvocationContext, VisitableCommand)on a sequence of sub-commands.Constructors in org.infinispan.interceptors.impl with parameters of type VisitableCommand Constructor Description QueueAsyncInvocationStage(InvocationContext ctx, VisitableCommand command, CompletableFuture<?> valueFuture, InvocationCallback function) -
Uses of VisitableCommand in org.infinispan.interceptors.locking
Methods in org.infinispan.interceptors.locking with parameters of type VisitableCommand Modifier and Type Method Description protected InvocationStageAbstractLockingInterceptor. lockAndRecord(InvocationContext context, VisitableCommand command, Object key, long timeout) -
Uses of VisitableCommand in org.infinispan.partitionhandling.impl
Methods in org.infinispan.partitionhandling.impl with parameters of type VisitableCommand Modifier and Type Method Description protected voidPartitionHandlingInterceptor. postTxCommandCheck(InvocationContext rCtx, VisitableCommand rCommand, Object rv) -
Uses of VisitableCommand in org.infinispan.statetransfer
Methods in org.infinispan.statetransfer with parameters of type VisitableCommand Modifier and Type Method Description ObjectStateTransferInterceptor. handleDefault(InvocationContext ctx, VisitableCommand command)ObjectTransactionSynchronizerInterceptor. visitCommand(InvocationContext ctx, VisitableCommand command) -
Uses of VisitableCommand in org.infinispan.xsite
Methods in org.infinispan.xsite with parameters of type VisitableCommand Modifier and Type Method Description CompletionStage<Void>BackupReceiver. handleRemoteCommand(VisitableCommand command, boolean preserveOrder)CompletionStage<Void>ClusteredCacheBackupReceiver. handleRemoteCommand(VisitableCommand command, boolean preserveOrder)Constructors in org.infinispan.xsite with parameters of type VisitableCommand Constructor Description SingleXSiteRpcCommand(ByteString cacheName, VisitableCommand command)
-