org.jclouds.concurrent
Class MoreExecutors.SameThreadExecutorService
java.lang.Object
java.util.concurrent.AbstractExecutorService
org.jclouds.concurrent.MoreExecutors.SameThreadExecutorService
- All Implemented Interfaces:
- Executor, ExecutorService
- Enclosing class:
- MoreExecutors
public static class MoreExecutors.SameThreadExecutorService
- extends AbstractExecutorService
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
execute
public void execute(Runnable command)
isShutdown
public boolean isShutdown()
shutdown
public void shutdown()
shutdownNow
public List<Runnable> shutdownNow()
isTerminated
public boolean isTerminated()
awaitTermination
public boolean awaitTermination(long timeout,
TimeUnit unit)
throws InterruptedException
- Throws:
InterruptedException
Copyright © 2009-2011 jclouds. All Rights Reserved.