public static class ClusteringDependentLogic.DistributionLogic extends ClusteringDependentLogic.AbstractClusteringDependentLogic
ClusteringDependentLogic.AbstractClusteringDependentLogic, ClusteringDependentLogic.DistributionLogic, ClusteringDependentLogic.InvalidationLogic, ClusteringDependentLogic.LocalLogic, ClusteringDependentLogic.ReplicationLogic
commitManager, dataContainer, functionalNotifier, notifier, persistenceManager, timeService, totalOrder
LOCAL_MODE_ADDRESS
Constructor and Description |
---|
DistributionLogic() |
Modifier and Type | Method and Description |
---|---|
protected void |
commitSingleEntry(CacheEntry entry,
Metadata metadata,
FlagAffectedCommand command,
InvocationContext ctx,
Flag trackFlag,
boolean l1Invalidation) |
Address |
getAddress() |
List<Address> |
getOwners(Collection<Object> affectedKeys) |
List<Address> |
getOwners(Object key) |
Address |
getPrimaryOwner(Object key) |
void |
init(DistributionManager dm,
Configuration configuration,
RpcManager rpcManager,
StateTransferLock stateTransferLock) |
protected WriteSkewHelper.KeySpecificLogic |
initKeySpecificLogic(boolean totalOrder) |
boolean |
localNodeIsOwner(Object key) |
boolean |
localNodeIsPrimaryOwner(Object key) |
commitEntry, createNewVersionsAndCheckForWriteSkews, init, notifyCommitEntry
public void init(DistributionManager dm, Configuration configuration, RpcManager rpcManager, StateTransferLock stateTransferLock)
public boolean localNodeIsOwner(Object key)
public Address getAddress()
public boolean localNodeIsPrimaryOwner(Object key)
protected void commitSingleEntry(CacheEntry entry, Metadata metadata, FlagAffectedCommand command, InvocationContext ctx, Flag trackFlag, boolean l1Invalidation)
commitSingleEntry
in class ClusteringDependentLogic.AbstractClusteringDependentLogic
public List<Address> getOwners(Collection<Object> affectedKeys)
protected WriteSkewHelper.KeySpecificLogic initKeySpecificLogic(boolean totalOrder)
initKeySpecificLogic
in class ClusteringDependentLogic.AbstractClusteringDependentLogic
Copyright © 2024 JBoss, a division of Red Hat. All rights reserved.