com.google.code.tempusfugit.concurrency
Class ExecutorServiceShutdown

java.lang.Object
  extended by com.google.code.tempusfugit.concurrency.ExecutorServiceShutdown

public final class ExecutorServiceShutdown
extends Object


Method Summary
static ExecutorServiceShutdown shutdown(ExecutorService executor)
           
 Boolean waitingForCompletion(Duration duration)
           
 Boolean waitingForShutdown(Timeout timeout)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

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.