Executor

Static Class which holds the logic for controlling the Thread Pool for the Tracker.

Types

Link copied to clipboard
fun interface ExceptionHandler

Handle exceptions raised by a Runnable

Functions

Link copied to clipboard
fun execute(runnable: Runnable?, exceptionHandler: Executor.ExceptionHandler?)
fun execute(reportsOnDiagnostic: Boolean, tag: String?, runnable: Runnable?)

Sends a runnable to the executor service.

fun execute(tag: String?, runnable: Runnable?)

Sends a runnable to the executor service. Errors are logged but not tracked with the diagnostic feature.

Link copied to clipboard
fun futureCallable(callable: Callable<*>): Future<*>

Sends a callable to the executor service and returns a Future.

Link copied to clipboard

Shuts the executor service down and resets the executor to a null state.

Properties

Link copied to clipboard