org.logicblaze.lingo.lock
Class DeadlockingWriteLock

java.lang.Object
  extended by org.logicblaze.lingo.lock.DeadlockingWriteLock
All Implemented Interfaces:
edu.emory.mathcs.backport.java.util.concurrent.locks.Lock

public class DeadlockingWriteLock
extends java.lang.Object
implements edu.emory.mathcs.backport.java.util.concurrent.locks.Lock

Version:
$Revision$

Constructor Summary
DeadlockingWriteLock()
           
 
Method Summary
 void lock()
           
 void lockInterruptibly()
           
 edu.emory.mathcs.backport.java.util.concurrent.locks.Condition newCondition()
           
 boolean tryLock()
           
 boolean tryLock(long arg0, edu.emory.mathcs.backport.java.util.concurrent.TimeUnit arg1)
           
 void unlock()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DeadlockingWriteLock

public DeadlockingWriteLock()
Method Detail

lock

public void lock()
Specified by:
lock in interface edu.emory.mathcs.backport.java.util.concurrent.locks.Lock

lockInterruptibly

public void lockInterruptibly()
                       throws java.lang.InterruptedException
Specified by:
lockInterruptibly in interface edu.emory.mathcs.backport.java.util.concurrent.locks.Lock
Throws:
java.lang.InterruptedException

newCondition

public edu.emory.mathcs.backport.java.util.concurrent.locks.Condition newCondition()
Specified by:
newCondition in interface edu.emory.mathcs.backport.java.util.concurrent.locks.Lock

tryLock

public boolean tryLock()
Specified by:
tryLock in interface edu.emory.mathcs.backport.java.util.concurrent.locks.Lock

tryLock

public boolean tryLock(long arg0,
                       edu.emory.mathcs.backport.java.util.concurrent.TimeUnit arg1)
                throws java.lang.InterruptedException
Specified by:
tryLock in interface edu.emory.mathcs.backport.java.util.concurrent.locks.Lock
Throws:
java.lang.InterruptedException

unlock

public void unlock()
Specified by:
unlock in interface edu.emory.mathcs.backport.java.util.concurrent.locks.Lock


Copyright © 2011 LogicBlaze, Inc.. All Rights Reserved.