public interface ClusteringDependentLogic
Modifier and Type | Interface and Description |
---|---|
static class |
ClusteringDependentLogic.AllNodesLogic
This logic is used when a changing a key affects all the nodes in the cluster, e.g.
|
static class |
ClusteringDependentLogic.DistributionLogic |
Modifier and Type | Method and Description |
---|---|
void |
commitEntry(CacheEntry entry,
EntryVersion newVersion,
boolean skipOwnershipCheck) |
EntryVersionsMap |
createNewVersionsAndCheckForWriteSkews(VersionGenerator versionGenerator,
TxInvocationContext context,
VersionedPrepareCommand prepareCommand) |
Address |
getAddress() |
Collection<Address> |
getOwners(Collection<Object> keys) |
boolean |
localNodeIsOwner(Object key) |
boolean |
localNodeIsPrimaryOwner(Object key) |
static final Log log
boolean localNodeIsOwner(Object key)
boolean localNodeIsPrimaryOwner(Object key)
void commitEntry(CacheEntry entry, EntryVersion newVersion, boolean skipOwnershipCheck)
Collection<Address> getOwners(Collection<Object> keys)
EntryVersionsMap createNewVersionsAndCheckForWriteSkews(VersionGenerator versionGenerator, TxInvocationContext context, VersionedPrepareCommand prepareCommand)
Address getAddress()
Copyright © 2012 JBoss, a division of Red Hat. All Rights Reserved.