Uses of Interface
org.infinispan.commands.Visitor
-
Packages that use Visitor Package Description 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.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.interceptors.xsite Interceptors dealing with cross-site replication.org.infinispan.partitionhandling.impl org.infinispan.statetransfer Transfer of state to new caches in a cluster. -
-
Uses of Visitor in org.infinispan.commands
Classes in org.infinispan.commands that implement Visitor Modifier and Type Class Description classAbstractVisitorAn abstract implementation of a Visitor that delegates all visit calls to a default handler which can be overridden.Methods in org.infinispan.commands with parameters of type Visitor Modifier and Type Method Description ObjectVisitableCommand. acceptVisitor(InvocationContext ctx, Visitor visitor)Accept a visitor, and return the result of accepting this visitor. -
Uses of Visitor in org.infinispan.commands.control
Methods in org.infinispan.commands.control with parameters of type Visitor Modifier and Type Method Description ObjectLockControlCommand. acceptVisitor(InvocationContext ctx, Visitor visitor) -
Uses of Visitor in org.infinispan.commands.functional
Methods in org.infinispan.commands.functional with parameters of type Visitor Modifier and Type Method Description ObjectReadOnlyKeyCommand. acceptVisitor(InvocationContext ctx, Visitor visitor)ObjectReadOnlyManyCommand. acceptVisitor(InvocationContext ctx, Visitor visitor)ObjectReadWriteKeyCommand. acceptVisitor(InvocationContext ctx, Visitor visitor)ObjectReadWriteKeyValueCommand. acceptVisitor(InvocationContext ctx, Visitor visitor)ObjectReadWriteManyCommand. acceptVisitor(InvocationContext ctx, Visitor visitor)ObjectReadWriteManyEntriesCommand. acceptVisitor(InvocationContext ctx, Visitor visitor)ObjectWriteOnlyKeyCommand. acceptVisitor(InvocationContext ctx, Visitor visitor)ObjectWriteOnlyKeyValueCommand. acceptVisitor(InvocationContext ctx, Visitor visitor)ObjectWriteOnlyManyCommand. acceptVisitor(InvocationContext ctx, Visitor visitor)ObjectWriteOnlyManyEntriesCommand. acceptVisitor(InvocationContext ctx, Visitor visitor) -
Uses of Visitor in org.infinispan.commands.read
Methods in org.infinispan.commands.read with parameters of type Visitor Modifier and Type Method Description ObjectEntrySetCommand. acceptVisitor(InvocationContext ctx, Visitor visitor)ObjectGetAllCommand. acceptVisitor(InvocationContext ctx, Visitor visitor)ObjectGetCacheEntryCommand. acceptVisitor(InvocationContext ctx, Visitor visitor)ObjectGetKeyValueCommand. acceptVisitor(InvocationContext ctx, Visitor visitor)ObjectKeySetCommand. acceptVisitor(InvocationContext ctx, Visitor visitor)ObjectSizeCommand. acceptVisitor(InvocationContext ctx, Visitor visitor) -
Uses of Visitor in org.infinispan.commands.remote
Methods in org.infinispan.commands.remote with parameters of type Visitor Modifier and Type Method Description ObjectGetKeysInGroupCommand. acceptVisitor(InvocationContext ctx, Visitor visitor) -
Uses of Visitor in org.infinispan.commands.tx
Methods in org.infinispan.commands.tx with parameters of type Visitor Modifier and Type Method Description ObjectCommitCommand. acceptVisitor(InvocationContext ctx, Visitor visitor)ObjectPrepareCommand. acceptVisitor(InvocationContext ctx, Visitor visitor)ObjectRollbackCommand. acceptVisitor(InvocationContext ctx, Visitor visitor) -
Uses of Visitor in org.infinispan.commands.write
Methods in org.infinispan.commands.write with parameters of type Visitor Modifier and Type Method Description ObjectClearCommand. acceptVisitor(InvocationContext ctx, Visitor visitor)ObjectComputeCommand. acceptVisitor(InvocationContext ctx, Visitor visitor)ObjectComputeIfAbsentCommand. acceptVisitor(InvocationContext ctx, Visitor visitor)ObjectEvictCommand. acceptVisitor(InvocationContext ctx, Visitor visitor)ObjectInvalidateCommand. acceptVisitor(InvocationContext ctx, Visitor visitor)ObjectInvalidateL1Command. acceptVisitor(InvocationContext ctx, Visitor visitor)ObjectPutKeyValueCommand. acceptVisitor(InvocationContext ctx, Visitor visitor)ObjectPutMapCommand. acceptVisitor(InvocationContext ctx, Visitor visitor)ObjectRemoveCommand. acceptVisitor(InvocationContext ctx, Visitor visitor)ObjectRemoveExpiredCommand. acceptVisitor(InvocationContext ctx, Visitor visitor)ObjectReplaceCommand. acceptVisitor(InvocationContext ctx, Visitor visitor) -
Uses of Visitor in org.infinispan.interceptors
Classes in org.infinispan.interceptors that implement Visitor Modifier and Type Class Description classBaseCustomAsyncInterceptorAnyone using theAsyncInterceptorChain.addInterceptor(AsyncInterceptor, int)method (or any of its overloaded forms) or registering custom interceptors via XML should extend this base class when creating their own custom interceptors.classDDAsyncInterceptorInterface for async interceptors using double-dispatch. -
Uses of Visitor in org.infinispan.interceptors.distribution
Classes in org.infinispan.interceptors.distribution that implement Visitor Modifier and Type Class Description classBaseDistributionInterceptorBase class for distribution of entries across a cluster.classBiasedScatteredDistributionInterceptorclassDistributionBulkInterceptor<K,V>Interceptor that handles bulk entrySet and keySet commands when using in a distributed/replicated environment.classL1LastChanceInterceptorL1 based interceptor that flushes the L1 cache at the end after a transaction/entry is committed to the data container but before the lock has been released.classL1NonTxInterceptorInterceptor that handles L1 logic for non-transactional caches.classL1TxInterceptorInterceptor that handles L1 logic for transactional caches.classNonTxDistributionInterceptorNon-transactional interceptor used by distributed caches that support concurrent writes.classScatteredDistributionInterceptorThis interceptor mixes several functions: A) replicates changes to other nodes B) commits the entry C) schedules invalidation On primary owner, the commit is executed before the change is replicated to other node.protected static classScatteredDistributionInterceptor.PrimaryResponseGeneratorprotected classScatteredDistributionInterceptor.PrimaryResponseHandlerclassTriangleDistributionInterceptorNon-transactional interceptor used by distributed caches that supports concurrent writes.classTxDistributionInterceptorHandles the distribution of the transactional caches.classVersionedDistributionInterceptorA version of theTxDistributionInterceptorthat adds logic to handling prepares when entries are versioned. -
Uses of Visitor in org.infinispan.interceptors.impl
Classes in org.infinispan.interceptors.impl that implement Visitor Modifier and Type Class Description classAbstractIracLocalSiteInterceptorADDAsyncInterceptorwith common code for all the IRAC related interceptors.classAbstractIracRemoteSiteInterceptorAn IRAC related interceptor that that handles the requests from the remote site.classBaseRpcInterceptorActs as a base for all RPC callsclassBaseStateTransferInterceptorA base class for a state transfer interceptor.protected static classBaseStateTransferInterceptor.LostDataVisitorclassBatchingInterceptorInterceptor that captures batched calls and attaches contexts.classBiasedEntryWrappingInterceptorclassCacheLoaderInterceptor<K,V>classCacheMgmtInterceptorCaptures cache management statistics.classCacheWriterInterceptorWrites modifications back to the store on the way out: stores modifications back through the CacheLoader, either after each method call (no TXs), or at TX commit.classCallInterceptorAlways at the end of the chain, directly in front of the cache.classClusteredCacheLoaderInterceptor<K,V>The same as a regular cache loader interceptor, except that it contains additional logic to force loading from the cache loader if needed on a remote node, in certain conditions.classClusteringInterceptorBase class for distribution interceptors.classDistCacheWriterInterceptorCache store interceptor specific for the distribution and replication cache modes.classEntryWrappingInterceptorInterceptor in charge with wrapping entries and add them in caller's context.classGroupingInterceptorAn interceptor that keeps track of the keys added/removed during the processing of aGetKeysInGroupCommandclassInvalidationInterceptorThis interceptor acts as a replacement to the replication interceptor when the CacheImpl is configured with ClusteredSyncMode as INVALIDATE.classIsMarshallableInterceptorInterceptor to verify whether parameters passed into cache are marshallables or not.classJmxStatsCommandInterceptorBase class for all the interceptors exposing management statistics.classNonTxIracLocalSiteInterceptorInterceptor used by IRAC for non transactional caches to handle the local site updates.classNonTxIracRemoteSiteInterceptorInterceptor for non-transactional caches to handle updates from remote sites.classNotificationInterceptorThe interceptor in charge of firing off notifications to cache listenersclassOptimisticTxIracLocalSiteInterceptorInterceptor used by IRAC for optimistic transactional caches to handle the local site updates.classOptimisticTxIracRemoteSiteInterceptorInterceptor for optimistic transactional caches to handle updates from remote sites.classPassivationCacheLoaderInterceptor<K,V>classPassivationClusteredCacheLoaderInterceptor<K,V>classPassivationWriterInterceptorHandles store write operations when passivation enabled that don't entail reading the entry firstclassPessimisticTxIracLocalInterceptorInterceptor used by IRAC for pessimistic transactional caches to handle the local site updates.classPessimisticTxIracRemoteSiteInterceptorInterceptor for pessimsitic transactional caches to handle updates from remote sites.classPrefetchInterceptor<K,V>classRetryingEntryWrappingInterceptorUsed in @{link org.infinispan.configuration.cache.CacheMode#SCATTERED_SYNC scattered cache} The commit is executed inScatteredDistributionInterceptorbefore replicating the change from primary owner.classScatteredCacheWriterInterceptorSimilar toDistCacheWriterInterceptorbut as commands are not forwarded from primary owner so we just write to the store all the time (with non-shared interceptors).classTransactionalExceptionEvictionInterceptorInterceptor that prevents the cache from inserting too many entries over a configured maximum amount.classTransactionalStoreInterceptorAn interceptor which ensures that writes to an underlying transactional store are prepared->committed/rolledback as part of the 2PC, therefore ensuring that the cache and transactional store(s) remain consistent.classTxInterceptor<K,V>Interceptor in charge with handling transaction related operations, e.g enlisting cache as an transaction participant, propagating remotely initiated changes.classVersionedEntryWrappingInterceptorInterceptor in charge with wrapping entries and add them in caller's context.classVersionInterceptorInterceptor installed when compatiblity is enabled. -
Uses of Visitor in org.infinispan.interceptors.locking
Classes in org.infinispan.interceptors.locking that implement Visitor Modifier and Type Class Description classAbstractLockingInterceptorBase class for various locking interceptors in this package.classAbstractTxLockingInterceptorBase class for transaction based locking interceptors.classNonTransactionalLockingInterceptorLocking interceptor to be used for non-transactional caches.classOptimisticLockingInterceptorLocking interceptor to be used by optimistic transactional caches.classPessimisticLockingInterceptorLocking interceptor to be used by pessimistic caches. -
Uses of Visitor in org.infinispan.interceptors.xsite
Classes in org.infinispan.interceptors.xsite that implement Visitor Modifier and Type Class Description classBaseBackupInterceptorclassNonTransactionalBackupInterceptorHandles x-site data backups for non-transactional caches.classOptimisticBackupInterceptorHandles x-site data backups for optimistic transactional caches.classPessimisticBackupInterceptorHandles x-site data backups for pessimistic transactional caches. -
Uses of Visitor in org.infinispan.partitionhandling.impl
Classes in org.infinispan.partitionhandling.impl that implement Visitor Modifier and Type Class Description classPartitionHandlingInterceptor -
Uses of Visitor in org.infinispan.statetransfer
Classes in org.infinispan.statetransfer that implement Visitor Modifier and Type Class Description classStateTransferInterceptorThis interceptor has two tasks: If the command's topology id is higher than the current topology id, wait for the node to receive transaction data for the new topology id. If the topology id changed during a command's execution, retry the command, but only on the originator (which replicates it to the new owners). If the cache is configured with asynchronous replication, owners cannot signal to the originator that they saw a new topology, so instead each owner forwards the command to all the other owners in the new topology.
-