Package org.elasticsearch.transport.nio
Class NioGroupFactory
java.lang.Object
org.elasticsearch.transport.nio.NioGroupFactory
Creates and returns
NioSelectorGroup instances. It will return a shared group for
both getHttpGroup() and getTransportGroup() if
NioTransportPlugin.NIO_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.-
Constructor Summary
ConstructorsConstructorDescriptionNioGroupFactory(org.elasticsearch.common.settings.Settings settings, org.apache.logging.log4j.Logger logger) -
Method Summary
Modifier and TypeMethodDescriptionorg.elasticsearch.nio.NioGrouporg.elasticsearch.common.settings.Settingsorg.elasticsearch.nio.NioGroup
-
Constructor Details
-
NioGroupFactory
public NioGroupFactory(org.elasticsearch.common.settings.Settings settings, org.apache.logging.log4j.Logger logger)
-
-
Method Details
-
getSettings
public org.elasticsearch.common.settings.Settings getSettings() -
getTransportGroup
- Throws:
IOException
-
getHttpGroup
- Throws:
IOException
-