|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.elasticsearch.common.util.concurrent.EsExecutors
public class EsExecutors
Method Summary | |
---|---|
static java.util.concurrent.ThreadFactory |
daemonThreadFactory(Settings settings,
java.lang.String namePrefix)
|
static java.util.concurrent.ThreadFactory |
daemonThreadFactory(java.lang.String namePrefix)
A priority based thread factory, for all Thread priority constants: Thread.MIN_PRIORITY, Thread.NORM_PRIORITY, Thread.MAX_PRIORITY; This factory is used instead of Executers.DefaultThreadFactory to allow manipulation of priority and thread owner name. |
static java.util.concurrent.ExecutorService |
newCachedThreadPool(TimeValue keepAlive,
java.util.concurrent.ThreadFactory threadFactory)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static java.util.concurrent.ExecutorService newCachedThreadPool(TimeValue keepAlive, java.util.concurrent.ThreadFactory threadFactory)
public static java.util.concurrent.ThreadFactory daemonThreadFactory(Settings settings, java.lang.String namePrefix)
public static java.util.concurrent.ThreadFactory daemonThreadFactory(java.lang.String namePrefix)
namePrefix
- a name prefix for this thread
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |