org.elasticsearch.threadpool
Class ThreadPool
java.lang.Object
org.elasticsearch.common.component.AbstractComponent
org.elasticsearch.threadpool.ThreadPool
public class ThreadPool
- extends AbstractComponent
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ThreadPool
public ThreadPool()
ThreadPool
@Inject
public ThreadPool(Settings settings)
estimatedTimeInMillis
public long estimatedTimeInMillis()
info
public ThreadPoolInfo info()
stats
public ThreadPoolStats stats()
generic
public Executor generic()
executor
public Executor executor(String name)
scheduler
public ScheduledExecutorService scheduler()
scheduleWithFixedDelay
public ScheduledFuture<?> scheduleWithFixedDelay(Runnable command,
TimeValue interval)
schedule
public ScheduledFuture<?> schedule(TimeValue delay,
String name,
Runnable command)
shutdown
public void shutdown()
shutdownNow
public void shutdownNow()
awaitTermination
public boolean awaitTermination(long timeout,
TimeUnit unit)
throws InterruptedException
- Throws:
InterruptedException
Copyright © 2009-2012. All Rights Reserved.