Class SharedSdkEventLoopGroup
java.lang.Object
software.amazon.awssdk.http.nio.netty.internal.SharedSdkEventLoopGroup
Provides access and manages a shared
SdkEventLoopGroup
. Uses reference counting to keep track of how many HTTP
clients are using the shared event loop group and will automatically close it when that count reaches zero. Event loop
group is lazily initialized for the first time and and subsequent requests after the count reaches zero.-
Method Summary
-
Method Details
-
get
- Returns:
- The default
SdkEventLoopGroup
that will be shared across all service clients. This is used when the customer does not specify a customSdkEventLoopGroup
orSdkEventLoopGroup.Builder
. Each SdkEventLoopGroup returned is wrapped with a newSharedSdkEventLoopGroup.ReferenceCountingEventLoopGroup
.
-