org.infinispan.interceptors.locking
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 |
Constructor and Description |
---|
ClusteringDependentLogic.AbstractClusteringDependentLogic() |
Modifier and Type | Method and Description |
---|---|
protected void |
commitCacheEntry(CacheEntry entry,
EntryVersion version) |
void |
init(DataContainer dataContainer,
CacheNotifier notifier,
Configuration configuration) |
boolean |
lock(Object key,
boolean noWaitTime) |
protected void |
notifyCommitEntry(boolean created,
boolean removed,
boolean evicted,
CacheEntry entry,
InvocationContext ctx) |
void |
unlock(Object key) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
commitEntry, createNewVersionsAndCheckForWriteSkews, getAddress, getOwners, getPrimaryOwner, localNodeIsOwner, localNodeIsPrimaryOwner
protected DataContainer dataContainer
protected CacheNotifier notifier
public ClusteringDependentLogic.AbstractClusteringDependentLogic()
public void init(DataContainer dataContainer, CacheNotifier notifier, Configuration configuration)
protected void notifyCommitEntry(boolean created, boolean removed, boolean evicted, CacheEntry entry, InvocationContext ctx)
public final boolean lock(Object key, boolean noWaitTime) throws InterruptedException
InterruptedException
public final void unlock(Object key)
protected final void commitCacheEntry(CacheEntry entry, EntryVersion version)
Copyright © 2014 JBoss, a division of Red Hat. All Rights Reserved.