public interface ClusteringDependentLogic
Modifier and Type | Interface and Description |
---|---|
static class |
ClusteringDependentLogic.AbstractClusteringDependentLogic |
static class |
ClusteringDependentLogic.Commit |
static class |
ClusteringDependentLogic.DistributionLogic
This logic is used in distributed mode caches.
|
static class |
ClusteringDependentLogic.InvalidationLogic
This logic is used in invalidation mode caches.
|
static class |
ClusteringDependentLogic.LocalLogic
This logic is used in local mode caches.
|
static class |
ClusteringDependentLogic.ReplicationLogic
This logic is used in replicated mode caches.
|
static class |
ClusteringDependentLogic.ScatteredLogic |
Modifier and Type | Method and Description |
---|---|
CompletionStage<Void> |
commitEntry(CacheEntry entry,
FlagAffectedCommand command,
InvocationContext ctx,
Flag trackFlag,
boolean l1Invalidation)
Commits the entry to the data container.
|
ClusteringDependentLogic.Commit |
commitType(FlagAffectedCommand command,
InvocationContext ctx,
int segment,
boolean removed)
Determines what type of commit this is.
|
CompletionStage<Map<Object,IncrementableEntryVersion>> |
createNewVersionsAndCheckForWriteSkews(VersionGenerator versionGenerator,
TxInvocationContext context,
VersionedPrepareCommand prepareCommand) |
Address |
getAddress() |
LocalizedCacheTopology |
getCacheTopology() |
<K,V> EntryLoader<K,V> |
getEntryLoader() |
void |
start()
Starts the object - must be first wired via component registry
|
void start()
LocalizedCacheTopology getCacheTopology()
CompletionStage<Void> commitEntry(CacheEntry entry, FlagAffectedCommand command, InvocationContext ctx, Flag trackFlag, boolean l1Invalidation)
entry
- command
- ctx
- trackFlag
- l1Invalidation
- ClusteringDependentLogic.Commit commitType(FlagAffectedCommand command, InvocationContext ctx, int segment, boolean removed)
command
- ctx
- segment
- if 0 or greater assumes the underlying container is segmented.removed
- CompletionStage<Map<Object,IncrementableEntryVersion>> createNewVersionsAndCheckForWriteSkews(VersionGenerator versionGenerator, TxInvocationContext context, VersionedPrepareCommand prepareCommand)
Address getAddress()
<K,V> EntryLoader<K,V> getEntryLoader()
Copyright © 2021 JBoss by Red Hat. All rights reserved.