public final class GlobalExecutionContext
extends java.lang.Object
ExecutionContext
with reasonable defaults for APIs when a user doesn't provide one.
A lazily initialized singleton ExecutionContext
, the lifecycle of this instance shouldn't need to be managed
by the user. Don't attempt to close the executors.
Modifier and Type | Method and Description |
---|---|
static ExecutionContext |
globalExecutionContext()
Get the
GlobalExecutionContext . |
public static ExecutionContext globalExecutionContext()
GlobalExecutionContext
.