com.caucho.cluster
Class ClusterLock

java.lang.Object
  extended by com.caucho.cluster.AbstractLock
      extended by com.caucho.cluster.ClusterLock
All Implemented Interfaces:
java.util.concurrent.locks.Lock

@Singleton
@Configurable
public class ClusterLock
extends AbstractLock

Distributed lock. Using the cache is like using java.util.concurrent.locks.Lock.


Constructor Summary
ClusterLock()
           
ClusterLock(java.lang.String name)
           
 
Method Summary
 
Methods inherited from class com.caucho.cluster.AbstractLock
getName, init, lock, lockInterruptibly, newCondition, setGuid, setName, toString, tryLock, tryLock, unlock
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ClusterLock

public ClusterLock()

ClusterLock

public ClusterLock(java.lang.String name)