org.terracotta.cache.evictor
Class EvictorLock

java.lang.Object
  extended by org.terracotta.cache.evictor.EvictorLock

public class EvictorLock
extends Object


Constructor Summary
EvictorLock()
           
 
Method Summary
 boolean isHeldByCurrentThread()
           
 boolean isLocked()
           
 boolean tryLock()
           
 void unlock()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EvictorLock

public EvictorLock()
Method Detail

tryLock

public boolean tryLock()

unlock

public void unlock()

isLocked

public boolean isLocked()

isHeldByCurrentThread

public boolean isHeldByCurrentThread()


Copyright © 2010 Terracotta, Inc.. All Rights Reserved.