Class Netty4Plugin

java.lang.Object
org.elasticsearch.plugins.Plugin
org.elasticsearch.transport.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
  • Field Summary

    Fields
    Modifier and Type Field Description
    static java.lang.String NETTY_HTTP_TRANSPORT_NAME  
    static java.lang.String NETTY_TRANSPORT_NAME  
  • Constructor Summary

    Constructors
    Constructor Description
    Netty4Plugin()  
  • Method Summary

    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.common.util.PageCacheRecycler pageCacheRecycler, org.elasticsearch.indices.breaker.CircuitBreakerService circuitBreakerService, org.elasticsearch.common.xcontent.NamedXContentRegistry xContentRegistry, org.elasticsearch.common.network.NetworkService networkService, org.elasticsearch.http.HttpServerTransport.Dispatcher dispatcher, org.elasticsearch.common.settings.ClusterSettings clusterSettings)  
    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.PageCacheRecycler pageCacheRecycler, org.elasticsearch.indices.breaker.CircuitBreakerService circuitBreakerService, org.elasticsearch.common.io.stream.NamedWriteableRegistry namedWriteableRegistry, org.elasticsearch.common.network.NetworkService networkService)  

    Methods inherited from class org.elasticsearch.plugins.Plugin

    close, createComponents, createGuiceModules, getAdditionalIndexSettingProviders, getBootstrapChecks, getExecutorBuilders, getFeature, getGuiceServiceClasses, getIndexTemplateMetadataUpgrader, getNamedWriteables, getNamedXContent, getRoles, getSettingsFilter, getSettingUpgraders, onIndexModule

    Methods inherited from class java.lang.Object

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

    Methods inherited from interface org.elasticsearch.plugins.NetworkPlugin

    getTransportInterceptors
  • Field Details

    • 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 Details

    • Netty4Plugin

      public Netty4Plugin()
  • Method Details

    • 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.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.common.util.PageCacheRecycler pageCacheRecycler, org.elasticsearch.indices.breaker.CircuitBreakerService circuitBreakerService, org.elasticsearch.common.xcontent.NamedXContentRegistry xContentRegistry, org.elasticsearch.common.network.NetworkService networkService, org.elasticsearch.http.HttpServerTransport.Dispatcher dispatcher, org.elasticsearch.common.settings.ClusterSettings clusterSettings)
      Specified by:
      getHttpTransports in interface org.elasticsearch.plugins.NetworkPlugin