org.elasticsearch.threadpool.blocking
Class BlockingThreadPool

java.lang.Object
  extended by org.elasticsearch.util.component.AbstractComponent
      extended by org.elasticsearch.threadpool.support.AbstractThreadPool
          extended by org.elasticsearch.threadpool.blocking.BlockingThreadPool
All Implemented Interfaces:
java.util.concurrent.Executor, java.util.concurrent.ExecutorService, java.util.concurrent.ScheduledExecutorService, ThreadPool

public class BlockingThreadPool
extends AbstractThreadPool

A thread pool that will will block the execute if all threads are busy.


Nested Class Summary
 
Nested classes/interfaces inherited from class org.elasticsearch.threadpool.support.AbstractThreadPool
AbstractThreadPool.FutureCallable<T>, AbstractThreadPool.FutureRunnable<T>
 
Field Summary
 
Fields inherited from class org.elasticsearch.threadpool.support.AbstractThreadPool
executorService, scheduledExecutorService, started
 
Fields inherited from class org.elasticsearch.util.component.AbstractComponent
componentSettings, logger, settings
 
Constructor Summary
BlockingThreadPool()
           
BlockingThreadPool(Settings settings)
           
 
Method Summary
 java.lang.String getType()
           
 
Methods inherited from class org.elasticsearch.threadpool.support.AbstractThreadPool
awaitTermination, execute, invokeAll, invokeAll, invokeAny, invokeAny, isShutdown, isStarted, isTerminated, schedule, schedule, scheduleAtFixedRate, scheduleWithFixedDelay, scheduleWithFixedDelay, shutdown, shutdownNow, submit, submit, submit, submit, submit, submit
 
Methods inherited from class org.elasticsearch.util.component.AbstractComponent
nodeName
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BlockingThreadPool

public BlockingThreadPool()

BlockingThreadPool

@Inject
public BlockingThreadPool(Settings settings)
Method Detail

getType

public java.lang.String getType()
Specified by:
getType in class AbstractThreadPool