public class Resources extends Object
| Modifier and Type | Class and Description |
|---|---|
static interface |
Resources.Pool |
| Modifier and Type | Method and Description |
|---|---|
static void |
delay(long millisDelay,
Resources.Pool pool,
Runnable work) |
static void |
delay(long millisDelay,
Runnable work) |
static void |
dispose(Resources.Pool handle) |
static void |
execute(Resources.Pool pool,
Runnable work) |
static void |
execute(Runnable work) |
static <T> T |
get(Future<T> holder,
String errorMsg) |
static Resources.Pool |
getPoolHandle() |
static Thread |
newThread(String threadName,
Runnable runnable) |
static <T> Future<T> |
submit(Callable<T> work) |
static <T> Future<T> |
submit(Resources.Pool pool,
Callable<T> work) |
public static Resources.Pool getPoolHandle()
public static void dispose(Resources.Pool handle)
public static void delay(long millisDelay,
Runnable work)
public static void delay(long millisDelay,
Resources.Pool pool,
Runnable work)
public static <T> Future<T> submit(Resources.Pool pool, Callable<T> work)
public static void execute(Runnable work)
public static void execute(Resources.Pool pool, Runnable work)
Copyright © 2012. All Rights Reserved.