org.apache.curator.utils
Class ThreadUtils
java.lang.Object
org.apache.curator.utils.ThreadUtils
public class ThreadUtils
- extends 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 ExecutorService newSingleThreadExecutor(String processName)
newFixedThreadPool
public static ExecutorService newFixedThreadPool(int qty,
String processName)
newSingleThreadScheduledExecutor
public static ScheduledExecutorService newSingleThreadScheduledExecutor(String processName)
newFixedThreadScheduledPool
public static ScheduledExecutorService newFixedThreadScheduledPool(int qty,
String processName)
newThreadFactory
public static ThreadFactory newThreadFactory(String processName)
getProcessName
public static String getProcessName(Class<?> clazz)
Copyright © 2011–2014 The Apache Software Foundation. All rights reserved.