com.metamatrix.common.queue
Interface WorkerPool
- All Superinterfaces:
- java.util.concurrent.Executor
public interface WorkerPool
- extends java.util.concurrent.Executor
Methods inherited from interface java.util.concurrent.Executor |
execute |
shutdown
void shutdown()
shutdownNow
java.util.List<java.lang.Runnable> shutdownNow()
awaitTermination
boolean awaitTermination(long timeout,
java.util.concurrent.TimeUnit unit)
throws java.lang.InterruptedException
- Throws:
java.lang.InterruptedException
isTerminated
boolean isTerminated()
getStats
WorkerPoolStats getStats()
hasWork
boolean hasWork()
schedule
java.util.concurrent.ScheduledFuture<?> schedule(java.lang.Runnable command,
long delay,
java.util.concurrent.TimeUnit unit)
scheduleAtFixedRate
java.util.concurrent.ScheduledFuture<?> scheduleAtFixedRate(java.lang.Runnable command,
long initialDelay,
long period,
java.util.concurrent.TimeUnit unit)
Copyright © 2009. All Rights Reserved.