org.infinispan.interceptors
Class DistLockingInterceptor
java.lang.Object
org.infinispan.commands.AbstractVisitor
org.infinispan.interceptors.base.CommandInterceptor
org.infinispan.interceptors.LockingInterceptor
org.infinispan.interceptors.DistLockingInterceptor
- All Implemented Interfaces:
- Visitor
public class DistLockingInterceptor
- extends LockingInterceptor
A subclass of the locking interceptor that is able to differentiate committing changes on a ReadCommittedEntry for
storage in the main cache or in L1, used by DIST
- Since:
- 4.0
- Author:
- Manik Surtani
Methods inherited from class org.infinispan.interceptors.LockingInterceptor |
setDependencies, visitClearCommand, visitCommitCommand, visitEvictCommand, visitGetKeyValueCommand, visitInvalidateCommand, visitInvalidateL1Command, visitLockControlCommand, visitPrepareCommand, visitPutKeyValueCommand, visitPutMapCommand, visitRemoveCommand, visitReplaceCommand, visitRollbackCommand |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DistLockingInterceptor
public DistLockingInterceptor()
injectDistributionManager
public void injectDistributionManager(DistributionManager dm)
commitEntry
protected void commitEntry(CacheEntry entry,
boolean skipOwnershipCheck)
- Overrides:
commitEntry
in class LockingInterceptor
Copyright © 2011 JBoss, a division of Red Hat. All Rights Reserved.