com.google.code.tempusfugit.concurrency
Class ExecuteUsingLock<T,E extends Exception>

java.lang.Object
  extended by com.google.code.tempusfugit.concurrency.ExecuteUsingLock<T,E>

public class ExecuteUsingLock<T,E extends Exception>
extends Object


Method Summary
static
<T,E extends Exception>
ExecuteUsingLock<T,E>
execute(Callable<T,E> callable)
           
 T using(Lock lock)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

execute

public static <T,E extends Exception> ExecuteUsingLock<T,E> execute(Callable<T,E> callable)

using

public T using(Lock lock)
        throws E extends Exception
Throws:
E extends Exception


Copyright © 2009-2012 tempus-fugit committers. All Rights Reserved.