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
    NioGroup getHttpGroup()  
    Settings getSettings()  
    NioGroup getTransportGroup()  

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait