public class ThreadUtils extends Object
Modifier and Type | Class and Description |
---|---|
static class |
ThreadUtils.SshdThreadFactory |
Modifier and Type | Method and Description |
---|---|
static ExecutorService |
newCachedThreadPool(String poolName) |
static ExecutorService |
newFixedThreadPool(String poolName,
int nThreads) |
static ExecutorService |
newSingleThreadExecutor(String poolName) |
static ScheduledExecutorService |
newSingleThreadScheduledExecutor(String poolName) |
public static ExecutorService newFixedThreadPool(String poolName, int nThreads)
public static ExecutorService newCachedThreadPool(String poolName)
public static ScheduledExecutorService newSingleThreadScheduledExecutor(String poolName)
public static ExecutorService newSingleThreadExecutor(String poolName)
Copyright © 2008–2018 The Apache Software Foundation. All rights reserved.