de.intarsys.tools.concurrent
Class SynchronousExecutorService
java.lang.Object
java.util.concurrent.AbstractExecutorService
de.intarsys.tools.concurrent.SynchronousExecutorService
- All Implemented Interfaces:
- Executor, ExecutorService
public class SynchronousExecutorService
- extends AbstractExecutorService
A simple ExecutorService running all commands synchronously.
SynchronousExecutorService
public SynchronousExecutorService()
awaitTermination
public boolean awaitTermination(long timeout,
TimeUnit unit)
throws InterruptedException
- Throws:
InterruptedException
execute
public void execute(Runnable command)
isShutdown
public boolean isShutdown()
isTerminated
public boolean isTerminated()
shutdown
public void shutdown()
shutdownNow
public List shutdownNow()
Copyright © 2008 intarsys consulting GmbH. All Rights Reserved.