org.elasticsearch.threadpool.cached
Class CachedThreadPool

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

public class CachedThreadPool
extends AbstractThreadPool

A thread pool that will create an unbounded number of threads.


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
CachedThreadPool()
           
CachedThreadPool(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

CachedThreadPool

public CachedThreadPool()

CachedThreadPool

@Inject
public CachedThreadPool(Settings settings)
Method Detail

getType

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