ehcache

Uses of Class
net.sf.ehcache.concurrent.LockType

Packages that use LockType
net.sf.ehcache.concurrent This package contains concurrency classes and utilities that are not available in java.util.concurrent. 
 

Uses of LockType in net.sf.ehcache.concurrent
 

Methods in net.sf.ehcache.concurrent that return LockType
static LockType LockType.valueOf(String name)
          Returns the enum constant of this type with the specified name.
static LockType[] LockType.values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 

Methods in net.sf.ehcache.concurrent with parameters of type LockType
 boolean Sync.isHeldByCurrentThread(LockType type)
          Returns true is this is lock is held at given level by the current thread.
 boolean ReadWriteLockSync.isHeldByCurrentThread(LockType type)
          Returns true is this is lock is held at given level by the current thread.
 void Sync.lock(LockType type)
          Acquire lock of LockType.READ or WRITE
 void ReadWriteLockSync.lock(LockType type)
          Acquire lock of LockType.READ or WRITE
 boolean Sync.tryLock(LockType type, long msec)
          Tries to acquire a LockType.READ or WRITE for a certain period
 boolean ReadWriteLockSync.tryLock(LockType type, long msec)
          Tries to acquire a LockType.READ or WRITE for a certain period
 void Sync.unlock(LockType type)
          Releases the lock held by the current Thread.
 void ReadWriteLockSync.unlock(LockType type)
          Releases the lock held by the current Thread.
 


ehcache

Copyright 2001-2016, Terracotta, Inc.