Package org.opensearch.transport
Class SharedGroupFactory
- java.lang.Object
-
- org.opensearch.transport.SharedGroupFactory
-
public final class SharedGroupFactory extends java.lang.ObjectCreates and returnsEventLoopGroupinstances. It will return a shared group for bothgetHttpGroup()andgetTransportGroup()ifNetty4HttpServerTransport.SETTING_HTTP_WORKER_COUNTis configured to be 0. If that setting is not 0, then it will return a different group in thegetHttpGroup()call.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classSharedGroupFactory.SharedGroupWraps theSharedGroupFactory.RefCountedGroup.
-
Constructor Summary
Constructors Constructor Description SharedGroupFactory(Settings settings)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SharedGroupFactory.SharedGroupgetHttpGroup()SettingsgetSettings()SharedGroupFactory.SharedGroupgetTransportGroup()intgetTransportWorkerCount()
-
-
-
Constructor Detail
-
SharedGroupFactory
public SharedGroupFactory(Settings settings)
-
-
Method Detail
-
getSettings
public Settings getSettings()
-
getTransportWorkerCount
public int getTransportWorkerCount()
-
getTransportGroup
public SharedGroupFactory.SharedGroup getTransportGroup()
-
getHttpGroup
public SharedGroupFactory.SharedGroup getHttpGroup()
-
-