public class ThreadUtils extends Object
Constructor and Description |
---|
ThreadUtils() |
Modifier and Type | Method and Description |
---|---|
static ExecutorService |
newFixedThreadPool(int qty,
String processName) |
static ScheduledExecutorService |
newFixedThreadScheduledPool(int qty,
String processName) |
static ExecutorService |
newSingleThreadExecutor(String processName) |
static ScheduledExecutorService |
newSingleThreadScheduledExecutor(String processName) |
static ThreadFactory |
newThreadFactory(String processName) |
public static ExecutorService newSingleThreadExecutor(String processName)
public static ExecutorService newFixedThreadPool(int qty, String processName)
public static ScheduledExecutorService newSingleThreadScheduledExecutor(String processName)
public static ScheduledExecutorService newFixedThreadScheduledPool(int qty, String processName)
public static ThreadFactory newThreadFactory(String processName)
Copyright © 2011-2013 The Apache Software Foundation. All Rights Reserved.