public abstract static class ClusteringDependentLogic.AbstractClusteringDependentLogic extends Object implements ClusteringDependentLogic
ClusteringDependentLogic.AbstractClusteringDependentLogic, ClusteringDependentLogic.Commit, ClusteringDependentLogic.DistributionLogic, ClusteringDependentLogic.InvalidationLogic, ClusteringDependentLogic.LocalLogic, ClusteringDependentLogic.ReplicationLogic, ClusteringDependentLogic.ScatteredLogic| Modifier and Type | Field and Description |
|---|---|
protected CommitManager |
commitManager |
protected ComponentRegistry |
componentRegistry |
protected Configuration |
configuration |
protected InternalDataContainer<Object,Object> |
dataContainer |
protected DistributionManager |
distributionManager |
protected EvictionManager<?,?> |
evictionManager |
protected FunctionalNotifier<Object,Object> |
functionalNotifier |
protected KeyPartitioner |
keyPartitioner |
protected CacheNotifier<Object,Object> |
notifier |
protected PersistenceManager |
persistenceManager |
protected TimeService |
timeService |
| Constructor and Description |
|---|
AbstractClusteringDependentLogic() |
protected ComponentRegistry componentRegistry
protected DistributionManager distributionManager
protected InternalDataContainer<Object,Object> dataContainer
protected CacheNotifier<Object,Object> notifier
protected CommitManager commitManager
protected PersistenceManager persistenceManager
protected TimeService timeService
protected FunctionalNotifier<Object,Object> functionalNotifier
protected Configuration configuration
protected KeyPartitioner keyPartitioner
protected EvictionManager<?,?> evictionManager
public void start()
ClusteringDependentLogicstart in interface ClusteringDependentLogicpublic CompletionStage<Map<Object,IncrementableEntryVersion>> createNewVersionsAndCheckForWriteSkews(VersionGenerator versionGenerator, TxInvocationContext context, VersionedPrepareCommand prepareCommand)
createNewVersionsAndCheckForWriteSkews in interface ClusteringDependentLogicpublic final CompletionStage<Void> commitEntry(CacheEntry entry, FlagAffectedCommand command, InvocationContext ctx, Flag trackFlag, boolean l1Invalidation)
ClusteringDependentLogiccommitEntry in interface ClusteringDependentLogicprotected abstract CompletionStage<Void> commitSingleEntry(CacheEntry entry, FlagAffectedCommand command, InvocationContext ctx, Flag trackFlag, boolean l1Invalidation)
protected ClusteringDependentLogic.Commit clusterCommitType(FlagAffectedCommand command, InvocationContext ctx, int segment, boolean removed)
public ClusteringDependentLogic.Commit commitType(FlagAffectedCommand command, InvocationContext ctx, int segment, boolean removed)
ClusteringDependentLogiccommitType in interface ClusteringDependentLogicsegment - if 0 or greater assumes the underlying container is segmented.protected abstract WriteSkewHelper.KeySpecificLogic initKeySpecificLogic()
public LocalizedCacheTopology getCacheTopology()
getCacheTopology in interface ClusteringDependentLogicpublic Address getAddress()
getAddress in interface ClusteringDependentLogicpublic final <K,V> EntryLoader<K,V> getEntryLoader()
getEntryLoader in interface ClusteringDependentLogicCopyright © 2022 JBoss by Red Hat. All rights reserved.