public static class ClusteringDependentLogic.LocalLogic extends ClusteringDependentLogic.AbstractClusteringDependentLogic
ClusteringDependentLogic.AbstractClusteringDependentLogic, ClusteringDependentLogic.DistributionLogic, ClusteringDependentLogic.InvalidationLogic, ClusteringDependentLogic.LocalLogic, ClusteringDependentLogic.ReplicationLogicdataContainer, notifier, totalOrderLOCAL_MODE_ADDRESS| Constructor and Description |
|---|
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, unlockpublic 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 ClusteringDependentLogiccreateNewVersionsAndCheckForWriteSkews in class ClusteringDependentLogic.AbstractClusteringDependentLogicprotected WriteSkewHelper.KeySpecificLogic initKeySpecificLogic(boolean totalOrder)
initKeySpecificLogic in class ClusteringDependentLogic.AbstractClusteringDependentLogicCopyright © 2016 JBoss, a division of Red Hat. All rights reserved.