public static class ClusteringDependentLogic.LocalLogic extends ClusteringDependentLogic.AbstractClusteringDependentLogic
ClusteringDependentLogic.AbstractClusteringDependentLogic, ClusteringDependentLogic.DistributionLogic, ClusteringDependentLogic.InvalidationLogic, ClusteringDependentLogic.LocalLogic, ClusteringDependentLogic.ReplicationLogic
dataContainer, notifier
Constructor and Description |
---|
ClusteringDependentLogic.LocalLogic() |
Modifier and Type | Method and Description |
---|---|
void |
commitEntry(CacheEntry entry,
EntryVersion newVersion,
boolean skipOwnershipCheck,
InvocationContext ctx) |
EntryVersionsMap |
createNewVersionsAndCheckForWriteSkews(VersionGenerator versionGenerator,
TxInvocationContext context,
VersionedPrepareCommand prepareCommand) |
Address |
getAddress() |
Collection<Address> |
getOwners(Collection<Object> keys) |
Address |
getPrimaryOwner(Object key) |
boolean |
localNodeIsOwner(Object key) |
boolean |
localNodeIsPrimaryOwner(Object key) |
commitCacheEntry, init, notifyCommitEntry
public boolean localNodeIsOwner(Object key)
public boolean localNodeIsPrimaryOwner(Object key)
public Collection<Address> getOwners(Collection<Object> keys)
public Address getAddress()
public void commitEntry(CacheEntry entry, EntryVersion newVersion, boolean skipOwnershipCheck, InvocationContext ctx)
public EntryVersionsMap createNewVersionsAndCheckForWriteSkews(VersionGenerator versionGenerator, TxInvocationContext context, VersionedPrepareCommand prepareCommand)
Copyright © 2017 JBoss, a division of Red Hat. All Rights Reserved.