Class ClusteringDependentLogic.InvalidationLogic
- java.lang.Object
-
- org.infinispan.interceptors.locking.ClusteringDependentLogic.AbstractClusteringDependentLogic
-
- org.infinispan.interceptors.locking.ClusteringDependentLogic.InvalidationLogic
-
- All Implemented Interfaces:
ClusteringDependentLogic
- 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, ClusteringDependentLogic.ScatteredLogic
-
-
Field Summary
-
Fields inherited from class org.infinispan.interceptors.locking.ClusteringDependentLogic.AbstractClusteringDependentLogic
commitManager, componentRegistry, configuration, dataContainer, distributionManager, evictionManager, functionalNotifier, keyPartitioner, notifier, persistenceManager, timeService
-
-
Constructor Summary
Constructors Constructor Description InvalidationLogic()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected CompletionStage<Void>commitSingleEntry(CacheEntry entry, FlagAffectedCommand command, InvocationContext ctx, Flag trackFlag, boolean l1Invalidation)ClusteringDependentLogic.CommitcommitType(FlagAffectedCommand command, InvocationContext ctx, int segment, boolean removed)Determines what type of commit this is.protected WriteSkewHelper.KeySpecificLogicinitKeySpecificLogic()-
Methods inherited from class org.infinispan.interceptors.locking.ClusteringDependentLogic.AbstractClusteringDependentLogic
clusterCommitType, commitEntry, createNewVersionsAndCheckForWriteSkews, getAddress, getCacheTopology, getEntryLoader, start
-
-
-
-
Method Detail
-
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.AbstractClusteringDependentLogicsegment- if 0 or greater assumes the underlying container is segmented.- Returns:
-
commitSingleEntry
protected CompletionStage<Void> commitSingleEntry(CacheEntry entry, FlagAffectedCommand command, InvocationContext ctx, Flag trackFlag, boolean l1Invalidation)
- Specified by:
commitSingleEntryin classClusteringDependentLogic.AbstractClusteringDependentLogic
-
initKeySpecificLogic
protected WriteSkewHelper.KeySpecificLogic initKeySpecificLogic()
- Specified by:
initKeySpecificLogicin classClusteringDependentLogic.AbstractClusteringDependentLogic
-
-