|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.elasticsearch.common.component.AbstractComponent
org.elasticsearch.threadpool.ThreadPool
public class ThreadPool
| Nested Class Summary | |
|---|---|
static class |
ThreadPool.Names
|
| Field Summary |
|---|
| Fields inherited from class org.elasticsearch.common.component.AbstractComponent |
|---|
componentSettings, logger, settings |
| Constructor Summary | |
|---|---|
ThreadPool()
|
|
ThreadPool(Settings settings)
|
|
| Method Summary | |
|---|---|
boolean |
awaitTermination(long timeout,
java.util.concurrent.TimeUnit unit)
|
java.util.concurrent.Executor |
cached()
|
long |
estimatedTimeInMillis()
|
java.util.concurrent.Executor |
executor(java.lang.String name)
|
java.util.concurrent.ScheduledFuture<?> |
schedule(TimeValue delay,
java.lang.String name,
java.lang.Runnable command)
|
java.util.concurrent.ScheduledFuture<?> |
scheduleWithFixedDelay(java.lang.Runnable command,
TimeValue interval)
|
void |
shutdown()
|
void |
shutdownNow()
|
| Methods inherited from class org.elasticsearch.common.component.AbstractComponent |
|---|
nodeName |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ThreadPool()
@Inject public ThreadPool(Settings settings)
| Method Detail |
|---|
public long estimatedTimeInMillis()
public java.util.concurrent.Executor cached()
public java.util.concurrent.Executor executor(java.lang.String name)
public java.util.concurrent.ScheduledFuture<?> scheduleWithFixedDelay(java.lang.Runnable command,
TimeValue interval)
public java.util.concurrent.ScheduledFuture<?> schedule(TimeValue delay,
java.lang.String name,
java.lang.Runnable command)
public void shutdown()
public void shutdownNow()
public boolean awaitTermination(long timeout,
java.util.concurrent.TimeUnit unit)
throws java.lang.InterruptedException
java.lang.InterruptedException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||