public final class SharedSdkEventLoopGroup extends Object
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.public static SdkEventLoopGroup get()
SdkEventLoopGroup
that will be shared across all service clients.
This is used when the customer does not specify a custom SdkEventLoopGroup
or SdkEventLoopGroup.Builder
.
Each SdkEventLoopGroup returned is wrapped with a new ReferenceCountingEventLoopGroup
.Copyright © 2019. All rights reserved.