Class ClusteringDependentLogic.InvalidationLogic
java.lang.Object
org.infinispan.interceptors.locking.ClusteringDependentLogic.AbstractClusteringDependentLogic
org.infinispan.interceptors.locking.ClusteringDependentLogic.InvalidationLogic
- All Implemented Interfaces:
ClusteringDependentLogic,PersistenceManager.StoreChangeListener
- Direct Known Subclasses:
ClusteringDependentLogic.ReplicationLogic
- Enclosing interface:
ClusteringDependentLogic
public static class ClusteringDependentLogic.InvalidationLogic
extends ClusteringDependentLogic.AbstractClusteringDependentLogic
This logic is used in invalidation mode caches.
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.infinispan.interceptors.locking.ClusteringDependentLogic
ClusteringDependentLogic.AbstractClusteringDependentLogic, ClusteringDependentLogic.Commit, ClusteringDependentLogic.DistributionLogic, ClusteringDependentLogic.InvalidationLogic, ClusteringDependentLogic.LocalLogic, ClusteringDependentLogic.ReplicationLogic -
Field Summary
Fields inherited from class org.infinispan.interceptors.locking.ClusteringDependentLogic.AbstractClusteringDependentLogic
activationManager, commitManager, componentRegistry, configuration, dataContainer, distributionManager, evictionManager, functionalNotifier, keyPartioner, keyPartitioner, notifier, orderer, persistenceManager, timeService -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected CompletionStage<Void> commitSingleEntry(CacheEntry entry, FlagAffectedCommand command, InvocationContext ctx, Flag trackFlag, boolean l1Invalidation) commitType(FlagAffectedCommand command, InvocationContext ctx, int segment, boolean removed) Determines what type of commit this is.protected WriteSkewHelper.KeySpecificLogicMethods inherited from class org.infinispan.interceptors.locking.ClusteringDependentLogic.AbstractClusteringDependentLogic
clusterCommitType, commitEntry, createNewVersionsAndCheckForWriteSkews, getAddress, getCacheTopology, getEntryLoader, start, stop, storeChanged
-
Constructor Details
-
InvalidationLogic
public InvalidationLogic()
-
-
Method Details
-
commitType
public ClusteringDependentLogic.Commit commitType(FlagAffectedCommand command, InvocationContext ctx, int segment, boolean removed) Description copied from interface:ClusteringDependentLogicDetermines what type of commit this is. Whether we shouldn't commit, or if this is a commit due to owning the key or not- Specified by:
commitTypein interfaceClusteringDependentLogic- Overrides:
commitTypein classClusteringDependentLogic.AbstractClusteringDependentLogic- Parameters:
command-ctx-segment- if 0 or greater assumes the underlying container is segmented.removed-- Returns:
-
commitSingleEntry
protected CompletionStage<Void> commitSingleEntry(CacheEntry entry, FlagAffectedCommand command, InvocationContext ctx, Flag trackFlag, boolean l1Invalidation) - Specified by:
commitSingleEntryin classClusteringDependentLogic.AbstractClusteringDependentLogic
-
initKeySpecificLogic
- Specified by:
initKeySpecificLogicin classClusteringDependentLogic.AbstractClusteringDependentLogic
-