org.infinispan.interceptors
Class DistLockingInterceptor

java.lang.Object
  extended by org.infinispan.commands.AbstractVisitor
      extended by org.infinispan.interceptors.base.CommandInterceptor
          extended by org.infinispan.interceptors.LockingInterceptor
              extended by 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

Field Summary
 
Fields inherited from class org.infinispan.interceptors.base.CommandInterceptor
configuration, log, trace
 
Constructor Summary
DistLockingInterceptor()
           
 
Method Summary
protected  void commitEntry(CacheEntry entry, boolean skipOwnershipCheck)
           
 void injectDistributionManager(DistributionManager dm)
           
 
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 org.infinispan.interceptors.base.CommandInterceptor
getNext, handleDefault, hasNext, invokeNextInterceptor, setNext
 
Methods inherited from class org.infinispan.commands.AbstractVisitor
visitCollection, visitDistributedExecuteCommand, visitEntrySetCommand, visitKeySetCommand, visitSizeCommand, visitUnknownCommand, visitValuesCommand
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DistLockingInterceptor

public DistLockingInterceptor()
Method Detail

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.