Class GlobalExecutionContext
java.lang.Object
io.servicetalk.transport.netty.internal.GlobalExecutionContext
ServiceTalk's shared
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.
-
Method Summary
Modifier and TypeMethodDescriptionstatic ExecutionContext<ExecutionStrategy>Get theGlobalExecutionContext.
-
Method Details
-
globalExecutionContext
Get theGlobalExecutionContext.- Returns:
- the singleton instance
-