com.google.code.tempusfugit.concurrency
Class ExecuteUsingLock<T,E extends Exception>
java.lang.Object
com.google.code.tempusfugit.concurrency.ExecuteUsingLock<T,E>
public class ExecuteUsingLock<T,E extends Exception>
- extends Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
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.