public class AsyncHandler extends Object
| Constructor and Description |
|---|
AsyncHandler() |
| Modifier and Type | Method and Description |
|---|---|
ScheduledFuture<?> |
postDelayed(Runnable runnable,
long millis) |
ScheduledFuture<?> |
postDelayed(Runnable runnable,
long time,
TimeUnit unit) |
static void |
shutdown()
Shutdown the worker thread.
|
public static void shutdown()
Future.cancel(boolean)ExecutorService.shutdown()public ScheduledFuture<?> postDelayed(Runnable runnable, long millis)
public ScheduledFuture<?> postDelayed(Runnable runnable, long time, TimeUnit unit)
Copyright © 2015. All rights reserved.