org.elasticsearch.threadpool
Interface ThreadPool

All Superinterfaces:
java.util.concurrent.Executor, java.util.concurrent.ExecutorService, java.util.concurrent.ScheduledExecutorService
All Known Implementing Classes:
AbstractThreadPool, BlockingThreadPool, CachedThreadPool, ScalingThreadPool

public interface ThreadPool
extends java.util.concurrent.ScheduledExecutorService


Method Summary
 boolean isStarted()
           
 java.util.concurrent.ScheduledFuture<?> scheduleWithFixedDelay(java.lang.Runnable command, TimeValue interval)
           
<T> java.util.concurrent.Future<T>
submit(java.util.concurrent.Callable<T> task, FutureListener<T> listener)
           
 java.util.concurrent.Future<?> submit(java.lang.Runnable task, FutureListener<?> listener)
           
<T> java.util.concurrent.Future<T>
submit(java.lang.Runnable task, T result, FutureListener<T> listener)
           
 
Methods inherited from interface java.util.concurrent.ScheduledExecutorService
schedule, schedule, scheduleAtFixedRate, scheduleWithFixedDelay
 
Methods inherited from interface java.util.concurrent.ExecutorService
awaitTermination, invokeAll, invokeAll, invokeAny, invokeAny, isShutdown, isTerminated, shutdown, shutdownNow, submit, submit, submit
 
Methods inherited from interface java.util.concurrent.Executor
execute
 

Method Detail

isStarted

boolean isStarted()

submit

<T> java.util.concurrent.Future<T> submit(java.util.concurrent.Callable<T> task,
                                          FutureListener<T> listener)

submit

<T> java.util.concurrent.Future<T> submit(java.lang.Runnable task,
                                          T result,
                                          FutureListener<T> listener)

submit

java.util.concurrent.Future<?> submit(java.lang.Runnable task,
                                      FutureListener<?> listener)

scheduleWithFixedDelay

java.util.concurrent.ScheduledFuture<?> scheduleWithFixedDelay(java.lang.Runnable command,
                                                               TimeValue interval)