public class TaskChainAsyncQueue extends Object implements AsyncQueue
| Constructor and Description |
|---|
TaskChainAsyncQueue() |
TaskChainAsyncQueue(ThreadPoolExecutor executor) |
| Modifier and Type | Method and Description |
|---|---|
static ThreadPoolExecutor |
createCachedThreadPool() |
void |
postAsync(Runnable runnable)
Task to post async of main thread
|
void |
shutdown(int timeout,
TimeUnit unit)
Call during game shutdown state
|
public TaskChainAsyncQueue()
public TaskChainAsyncQueue(ThreadPoolExecutor executor)
public static ThreadPoolExecutor createCachedThreadPool()
public void postAsync(Runnable runnable)
AsyncQueuepostAsync in interface AsyncQueuepublic void shutdown(int timeout, TimeUnit unit)
shutdown in interface AsyncQueuetimeout - unit - Copyright © 2018. All rights reserved.