Class Netty4Plugin

  • All Implemented Interfaces:
    java.io.Closeable, java.lang.AutoCloseable, org.elasticsearch.plugins.NetworkPlugin

    public class Netty4Plugin
    extends org.elasticsearch.plugins.Plugin
    implements org.elasticsearch.plugins.NetworkPlugin
    • Constructor Summary

      Constructors 
      Constructor Description
      Netty4Plugin()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      org.elasticsearch.common.settings.Settings additionalSettings()  
      java.util.Map<java.lang.String,java.util.function.Supplier<org.elasticsearch.http.HttpServerTransport>> getHttpTransports​(org.elasticsearch.common.settings.Settings settings, org.elasticsearch.threadpool.ThreadPool threadPool, org.elasticsearch.common.util.BigArrays bigArrays, org.elasticsearch.indices.breaker.CircuitBreakerService circuitBreakerService, org.elasticsearch.common.io.stream.NamedWriteableRegistry namedWriteableRegistry, org.elasticsearch.common.xcontent.NamedXContentRegistry xContentRegistry, org.elasticsearch.common.network.NetworkService networkService, org.elasticsearch.http.HttpServerTransport.Dispatcher dispatcher)  
      java.util.List<org.elasticsearch.common.settings.Setting<?>> getSettings()  
      java.util.Map<java.lang.String,java.util.function.Supplier<org.elasticsearch.transport.Transport>> getTransports​(org.elasticsearch.common.settings.Settings settings, org.elasticsearch.threadpool.ThreadPool threadPool, org.elasticsearch.common.util.BigArrays bigArrays, org.elasticsearch.common.util.PageCacheRecycler pageCacheRecycler, org.elasticsearch.indices.breaker.CircuitBreakerService circuitBreakerService, org.elasticsearch.common.io.stream.NamedWriteableRegistry namedWriteableRegistry, org.elasticsearch.common.network.NetworkService networkService)  
      • Methods inherited from interface org.elasticsearch.plugins.NetworkPlugin

        getTransportInterceptors
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • Methods inherited from class org.elasticsearch.plugins.Plugin

        close, createComponents, createGuiceModules, getBootstrapChecks, getCustomMetaDataUpgrader, getExecutorBuilders, getFeature, getGuiceServiceClasses, getIndexMetaDataUpgrader, getIndexTemplateMetaDataUpgrader, getNamedWriteables, getNamedXContent, getSettingsFilter, onIndexModule, onModule, onModule, onModule, onModule, onModule, onModule, onModule, onModule, onModule, onModule
    • Field Detail

      • NETTY_TRANSPORT_NAME

        public static final java.lang.String NETTY_TRANSPORT_NAME
        See Also:
        Constant Field Values
      • NETTY_HTTP_TRANSPORT_NAME

        public static final java.lang.String NETTY_HTTP_TRANSPORT_NAME
        See Also:
        Constant Field Values
    • Constructor Detail

      • Netty4Plugin

        public Netty4Plugin()
    • Method Detail

      • getSettings

        public java.util.List<org.elasticsearch.common.settings.Setting<?>> getSettings()
        Overrides:
        getSettings in class org.elasticsearch.plugins.Plugin
      • additionalSettings

        public org.elasticsearch.common.settings.Settings additionalSettings()
        Overrides:
        additionalSettings in class org.elasticsearch.plugins.Plugin
      • getTransports

        public java.util.Map<java.lang.String,java.util.function.Supplier<org.elasticsearch.transport.Transport>> getTransports​(org.elasticsearch.common.settings.Settings settings,
                                                                                                                                org.elasticsearch.threadpool.ThreadPool threadPool,
                                                                                                                                org.elasticsearch.common.util.BigArrays bigArrays,
                                                                                                                                org.elasticsearch.common.util.PageCacheRecycler pageCacheRecycler,
                                                                                                                                org.elasticsearch.indices.breaker.CircuitBreakerService circuitBreakerService,
                                                                                                                                org.elasticsearch.common.io.stream.NamedWriteableRegistry namedWriteableRegistry,
                                                                                                                                org.elasticsearch.common.network.NetworkService networkService)
        Specified by:
        getTransports in interface org.elasticsearch.plugins.NetworkPlugin
      • getHttpTransports

        public java.util.Map<java.lang.String,java.util.function.Supplier<org.elasticsearch.http.HttpServerTransport>> getHttpTransports​(org.elasticsearch.common.settings.Settings settings,
                                                                                                                                         org.elasticsearch.threadpool.ThreadPool threadPool,
                                                                                                                                         org.elasticsearch.common.util.BigArrays bigArrays,
                                                                                                                                         org.elasticsearch.indices.breaker.CircuitBreakerService circuitBreakerService,
                                                                                                                                         org.elasticsearch.common.io.stream.NamedWriteableRegistry namedWriteableRegistry,
                                                                                                                                         org.elasticsearch.common.xcontent.NamedXContentRegistry xContentRegistry,
                                                                                                                                         org.elasticsearch.common.network.NetworkService networkService,
                                                                                                                                         org.elasticsearch.http.HttpServerTransport.Dispatcher dispatcher)
        Specified by:
        getHttpTransports in interface org.elasticsearch.plugins.NetworkPlugin