public static class ClusteringDependentLogic.LocalLogic extends ClusteringDependentLogic.AbstractClusteringDependentLogic
ClusteringDependentLogic.AbstractClusteringDependentLogic, ClusteringDependentLogic.DistributionLogic, ClusteringDependentLogic.InvalidationLogic, ClusteringDependentLogic.LocalLogic, ClusteringDependentLogic.ReplicationLogiccommitManager, dataContainer, functionalNotifier, notifier, persistenceManager, timeService, totalOrderLOCAL_MODE_ADDRESS| Constructor and Description |
|---|
LocalLogic() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
commitSingleEntry(CacheEntry entry,
Metadata metadata,
FlagAffectedCommand command,
InvocationContext ctx,
Flag trackFlag,
boolean l1Invalidation) |
EntryVersionsMap |
createNewVersionsAndCheckForWriteSkews(VersionGenerator versionGenerator,
TxInvocationContext context,
VersionedPrepareCommand prepareCommand) |
Address |
getAddress() |
List<Address> |
getOwners(Collection<Object> keys) |
List<Address> |
getOwners(Object key) |
Address |
getPrimaryOwner(Object key) |
void |
init(EmbeddedCacheManager cacheManager) |
protected WriteSkewHelper.KeySpecificLogic |
initKeySpecificLogic(boolean totalOrder) |
boolean |
localNodeIsOwner(Object key) |
boolean |
localNodeIsPrimaryOwner(Object key) |
commitEntry, init, notifyCommitEntrypublic void init(EmbeddedCacheManager cacheManager)
public boolean localNodeIsOwner(Object key)
public boolean localNodeIsPrimaryOwner(Object key)
public List<Address> getOwners(Collection<Object> keys)
public Address getAddress()
protected void commitSingleEntry(CacheEntry entry, Metadata metadata, FlagAffectedCommand command, InvocationContext ctx, Flag trackFlag, boolean l1Invalidation)
commitSingleEntry in class ClusteringDependentLogic.AbstractClusteringDependentLogicpublic EntryVersionsMap createNewVersionsAndCheckForWriteSkews(VersionGenerator versionGenerator, TxInvocationContext context, VersionedPrepareCommand prepareCommand)
createNewVersionsAndCheckForWriteSkews in interface ClusteringDependentLogiccreateNewVersionsAndCheckForWriteSkews in class ClusteringDependentLogic.AbstractClusteringDependentLogicprotected WriteSkewHelper.KeySpecificLogic initKeySpecificLogic(boolean totalOrder)
initKeySpecificLogic in class ClusteringDependentLogic.AbstractClusteringDependentLogicCopyright © 2024 JBoss, a division of Red Hat. All rights reserved.