com.netflix.curator.utils
Class ThreadUtils
java.lang.Object
com.netflix.curator.utils.ThreadUtils
public class ThreadUtils
- extends java.lang.Object
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ThreadUtils
public ThreadUtils()
newSingleThreadExecutor
public static java.util.concurrent.ExecutorService newSingleThreadExecutor(java.lang.String processName)
newFixedThreadPool
public static java.util.concurrent.ExecutorService newFixedThreadPool(int qty,
java.lang.String processName)
newSingleThreadScheduledExecutor
public static java.util.concurrent.ScheduledExecutorService newSingleThreadScheduledExecutor(java.lang.String processName)
newFixedThreadScheduledPool
public static java.util.concurrent.ScheduledExecutorService newFixedThreadScheduledPool(int qty,
java.lang.String processName)
newThreadFactory
public static java.util.concurrent.ThreadFactory newThreadFactory(java.lang.String processName)