public class X_Process extends Object
| Constructor and Description |
|---|
X_Process() |
| Modifier and Type | Method and Description |
|---|---|
static <T> void |
block(Future<T> future,
ReceivesValue<T> receiver) |
static boolean |
flush(int timeout) |
static boolean |
flush(Thread thread,
int timeout) |
static void |
kill(Thread thread,
int timeout) |
static AsyncLock |
newLock() |
static <T> ProcessController<T> |
newProcess(Process<T> process) |
static Thread |
newThread(Runnable cmd) |
static double |
now() |
static void |
runDeferred(Runnable cmd) |
static void |
runEventually(Runnable cmd) |
static void |
runFinally(Runnable cmd) |
static void |
runTimeout(Runnable cmd,
int milliDelay) |
static double |
threadStartTime() |
static boolean |
trySleep(int millis) |
public static <T> void block(Future<T> future, ReceivesValue<T> receiver)
public static void runDeferred(Runnable cmd)
public static void runEventually(Runnable cmd)
public static void runFinally(Runnable cmd)
public static void runTimeout(Runnable cmd, int milliDelay)
public static <T> ProcessController<T> newProcess(Process<T> process)
public static boolean flush(int timeout)
public static boolean flush(Thread thread, int timeout)
public static boolean trySleep(int millis)
public static void kill(Thread thread, int timeout)
public static double threadStartTime()
public static double now()
public static AsyncLock newLock()
Copyright © December 07, 2012–2015 The Internet Party. All rights reserved.