Class GlobalExecutionContext
- java.lang.Object
-
- io.servicetalk.transport.netty.internal.GlobalExecutionContext
-
public final class GlobalExecutionContext extends java.lang.ObjectServiceTalk's sharedExecutionContextwith 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
All Methods Static Methods Concrete Methods Modifier and Type Method Description static ExecutionContextglobalExecutionContext()Get theGlobalExecutionContext.
-
-
-
Method Detail
-
globalExecutionContext
public static ExecutionContext globalExecutionContext()
Get theGlobalExecutionContext.- Returns:
- the singleton instance
-
-