public abstract static class ClusteringDependentLogic.AbstractClusteringDependentLogic extends Object implements ClusteringDependentLogic
ClusteringDependentLogic.AbstractClusteringDependentLogic, ClusteringDependentLogic.DistributionLogic, ClusteringDependentLogic.InvalidationLogic, ClusteringDependentLogic.LocalLogic, ClusteringDependentLogic.ReplicationLogic| Modifier and Type | Field and Description |
|---|---|
protected DataContainer |
dataContainer |
protected CacheNotifier |
notifier |
protected boolean |
totalOrder |
LOCAL_MODE_ADDRESS| Constructor and Description |
|---|
ClusteringDependentLogic.AbstractClusteringDependentLogic() |
| Modifier and Type | Method and Description |
|---|---|
EntryVersionsMap |
createNewVersionsAndCheckForWriteSkews(VersionGenerator versionGenerator,
TxInvocationContext context,
VersionedPrepareCommand prepareCommand) |
void |
init(DataContainer dataContainer,
CacheNotifier notifier,
Configuration configuration) |
protected abstract WriteSkewHelper.KeySpecificLogic |
initKeySpecificLogic(boolean totalOrder) |
protected void |
notifyCommitEntry(boolean created,
boolean removed,
boolean evicted,
CacheEntry entry,
InvocationContext ctx,
FlagAffectedCommand command) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcommitEntry, getAddress, getOwners, getOwners, getPrimaryOwner, localNodeIsOwner, localNodeIsPrimaryOwnerprotected DataContainer dataContainer
protected CacheNotifier notifier
protected boolean totalOrder
public ClusteringDependentLogic.AbstractClusteringDependentLogic()
public void init(DataContainer dataContainer, CacheNotifier notifier, Configuration configuration)
public EntryVersionsMap createNewVersionsAndCheckForWriteSkews(VersionGenerator versionGenerator, TxInvocationContext context, VersionedPrepareCommand prepareCommand)
createNewVersionsAndCheckForWriteSkews in interface ClusteringDependentLogicprotected abstract WriteSkewHelper.KeySpecificLogic initKeySpecificLogic(boolean totalOrder)
protected void notifyCommitEntry(boolean created,
boolean removed,
boolean evicted,
CacheEntry entry,
InvocationContext ctx,
FlagAffectedCommand command)
Copyright © 2013 JBoss, a division of Red Hat. All rights reserved.