com.google.code.tempusfugit.concurrency
Class ExecutorServiceShutdown
java.lang.Object
com.google.code.tempusfugit.concurrency.ExecutorServiceShutdown
public final class ExecutorServiceShutdown
- extends Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
shutdown
public static ExecutorServiceShutdown shutdown(ExecutorService executor)
waitingForCompletion
public Boolean waitingForCompletion(Duration duration)
waitingForShutdown
public Boolean waitingForShutdown(Timeout timeout)
throws TimeoutException,
InterruptedException
- Throws:
TimeoutException
InterruptedException
- Since:
- 1.1
Copyright © 2009-2012 tempus-fugit committers. All Rights Reserved.