public final class Threads extends Object
| Constructor and Description |
|---|
Threads() |
| Modifier and Type | Method and Description |
|---|---|
static ExecutorService |
newCachedThreadPool() |
static ExecutorService |
newFixedThreadPool(int nThreads) |
static ExecutorService |
newSingleThreadExecutor() |
static ScheduledExecutorService |
newSingleThreadScheduledExecutor() |
static void |
run(Runnable r) |
static void |
run(String name,
Runnable r) |
public static void run(Runnable r)
public static ExecutorService newFixedThreadPool(int nThreads)
public static ExecutorService newCachedThreadPool()
public static ExecutorService newSingleThreadExecutor()
public static ScheduledExecutorService newSingleThreadScheduledExecutor()
Copyright © 2010–2024 TrackMate. All rights reserved.