Package org.elasticsearch.transport.nio
Class NioGroupFactory
java.lang.Object
org.elasticsearch.transport.nio.NioGroupFactory
public final class NioGroupFactory
extends java.lang.Object
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
Constructors Constructor Description NioGroupFactory(Settings settings, org.apache.logging.log4j.Logger logger) -
Method Summary
Modifier and Type Method Description NioGroupgetHttpGroup()SettingsgetSettings()NioGroupgetTransportGroup()
-
Constructor Details
-
Method Details
-
getSettings
-
getTransportGroup
- Throws:
java.io.IOException
-
getHttpGroup
- Throws:
java.io.IOException
-