public final class CBAsync
extends java.lang.Object
| Constructor and Description |
|---|
CBAsync() |
| Modifier and Type | Method and Description |
|---|---|
static java.util.concurrent.ScheduledExecutorService |
createBackgroundExecutor()
Get the Chartboost Executor Service in which to run any asynchronous task.
|
static java.util.concurrent.ExecutorService |
createNetworkExecutor(int numberOfThreads)
Create a network executor that will run prioritzed network tasks
The executor has pool with a fixed number of threads, which are prestarted on creation
to avoid future Out of Memory errors
|
public static java.util.concurrent.ScheduledExecutorService createBackgroundExecutor()
public static java.util.concurrent.ExecutorService createNetworkExecutor(int numberOfThreads)