Class SharedGroupFactory

java.lang.Object
org.elasticsearch.transport.SharedGroupFactory

public final class SharedGroupFactory
extends java.lang.Object
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.