public static class ClusteringDependentLogic.InvalidationLogic extends ClusteringDependentLogic.AbstractClusteringDependentLogic
ClusteringDependentLogic.AbstractClusteringDependentLogic, ClusteringDependentLogic.DistributionLogic, ClusteringDependentLogic.InvalidationLogic, ClusteringDependentLogic.LocalLogic, ClusteringDependentLogic.ReplicationLogic
Modifier and Type | Field and Description |
---|---|
protected static WriteSkewHelper.KeySpecificLogic |
keySpecificLogic |
dataContainer, notifier
LOCAL_MODE_ADDRESS
Constructor and Description |
---|
ClusteringDependentLogic.InvalidationLogic() |
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(RpcManager rpcManager,
StateTransferManager stateTransferManager) |
boolean |
localNodeIsOwner(Object key) |
boolean |
localNodeIsPrimaryOwner(Object key) |
init, notifyCommitEntry, totalOrderCreateNewVersionsAndCheckForWriteSkews
protected static final WriteSkewHelper.KeySpecificLogic keySpecificLogic
public ClusteringDependentLogic.InvalidationLogic()
public void init(RpcManager rpcManager, StateTransferManager stateTransferManager)
public boolean localNodeIsOwner(Object key)
public boolean localNodeIsPrimaryOwner(Object key)
public void commitEntry(CacheEntry entry, Metadata metadata, FlagAffectedCommand command, InvocationContext ctx)
public List<Address> getOwners(Collection<Object> keys)
public Address getAddress()
public EntryVersionsMap createNewVersionsAndCheckForWriteSkews(VersionGenerator versionGenerator, TxInvocationContext context, VersionedPrepareCommand prepareCommand)
Copyright © 2013 JBoss, a division of Red Hat. All rights reserved.