Package org.elasticsearch.transport
Class SharedGroupFactory
java.lang.Object
org.elasticsearch.transport.SharedGroupFactory
Creates and returns
EventLoopGroup instances. It will return a shared group for
both getHttpGroup() and getTransportGroup() if
Netty4HttpServerTransport.SETTING_HTTP_WORKER_COUNT is configured to be 0.
If that setting is not 0, then it will return a different group in the getHttpGroup() call.-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classWraps theSharedGroupFactory.RefCountedGroup. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.elasticsearch.common.settings.Settingsint
-
Constructor Details
-
SharedGroupFactory
public SharedGroupFactory(org.elasticsearch.common.settings.Settings settings)
-
-
Method Details
-
getSettings
public org.elasticsearch.common.settings.Settings getSettings() -
getTransportWorkerCount
public int getTransportWorkerCount() -
getTransportGroup
-
getHttpGroup
-