org.infinispan.interceptors.locking
Class ClusteringDependentLogic.InvalidationLogic
java.lang.Object
org.infinispan.interceptors.locking.ClusteringDependentLogic.AbstractClusteringDependentLogic
org.infinispan.interceptors.locking.ClusteringDependentLogic.InvalidationLogic
- All Implemented Interfaces:
- ClusteringDependentLogic
- Direct Known Subclasses:
- ClusteringDependentLogic.ReplicationLogic
- Enclosing interface:
- ClusteringDependentLogic
public static class ClusteringDependentLogic.InvalidationLogic
- extends ClusteringDependentLogic.AbstractClusteringDependentLogic
This logic is used in invalidation mode caches.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ClusteringDependentLogic.InvalidationLogic
public ClusteringDependentLogic.InvalidationLogic()
init
public void init(RpcManager rpcManager,
StateTransferManager stateTransferManager)
localNodeIsOwner
public boolean localNodeIsOwner(Object key)
localNodeIsPrimaryOwner
public boolean localNodeIsPrimaryOwner(Object key)
getPrimaryOwner
public Address getPrimaryOwner(Object key)
commitEntry
public void commitEntry(CacheEntry entry,
EntryVersion newVersion,
boolean skipOwnershipCheck,
InvocationContext ctx)
getOwners
public Collection<Address> getOwners(Collection<Object> keys)
getAddress
public Address getAddress()
createNewVersionsAndCheckForWriteSkews
public EntryVersionsMap createNewVersionsAndCheckForWriteSkews(VersionGenerator versionGenerator,
TxInvocationContext context,
VersionedPrepareCommand prepareCommand)
Copyright © 2013 JBoss, a division of Red Hat. All Rights Reserved.