public static class ClusteringDependentLogic.LocalLogic extends ClusteringDependentLogic.AbstractClusteringDependentLogic
ClusteringDependentLogic.AbstractClusteringDependentLogic, ClusteringDependentLogic.DistributionLogic, ClusteringDependentLogic.InvalidationLogic, ClusteringDependentLogic.LocalLogic, ClusteringDependentLogic.ReplicationLogic
dataContainer, notifier, totalOrder
LOCAL_MODE_ADDRESS
Constructor and Description |
---|
ClusteringDependentLogic.LocalLogic() |
Modifier and Type | Method and Description |
---|---|
void |
commitEntry(CacheEntry entry,
Metadata metadata,
FlagAffectedCommand command,
InvocationContext ctx) |
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) |
commitCacheEntry, init, lock, notifyCommitEntry, unlock
public void init(EmbeddedCacheManager cacheManager)
public boolean localNodeIsOwner(Object key)
public boolean localNodeIsPrimaryOwner(Object key)
public List<Address> getOwners(Collection<Object> keys)
public Address getAddress()
public void commitEntry(CacheEntry entry, Metadata metadata, FlagAffectedCommand command, InvocationContext ctx)
public EntryVersionsMap createNewVersionsAndCheckForWriteSkews(VersionGenerator versionGenerator, TxInvocationContext context, VersionedPrepareCommand prepareCommand)
createNewVersionsAndCheckForWriteSkews
in interface ClusteringDependentLogic
createNewVersionsAndCheckForWriteSkews
in class ClusteringDependentLogic.AbstractClusteringDependentLogic
protected WriteSkewHelper.KeySpecificLogic initKeySpecificLogic(boolean totalOrder)
initKeySpecificLogic
in class ClusteringDependentLogic.AbstractClusteringDependentLogic
Copyright © 2014 JBoss, a division of Red Hat. All Rights Reserved.