Class NioTransportPlugin

java.lang.Object
org.elasticsearch.plugins.Plugin
org.elasticsearch.transport.nio.NioTransportPlugin
All Implemented Interfaces:
Closeable, AutoCloseable, org.elasticsearch.plugins.NetworkPlugin

public class NioTransportPlugin extends org.elasticsearch.plugins.Plugin implements org.elasticsearch.plugins.NetworkPlugin
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static String
     
    static org.elasticsearch.common.settings.Setting<Integer>
     
    static String
     
    static org.elasticsearch.common.settings.Setting<Integer>
     
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    Map<String,​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)
     
    List<org.elasticsearch.common.settings.Setting<?>>
     
    Map<String,​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

    additionalSettings, 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

    • NIO_TRANSPORT_NAME

      public static final String NIO_TRANSPORT_NAME
      See Also:
      Constant Field Values
    • NIO_HTTP_TRANSPORT_NAME

      public static final String NIO_HTTP_TRANSPORT_NAME
      See Also:
      Constant Field Values
    • NIO_WORKER_COUNT

      public static final org.elasticsearch.common.settings.Setting<Integer> NIO_WORKER_COUNT
    • NIO_HTTP_WORKER_COUNT

      public static final org.elasticsearch.common.settings.Setting<Integer> NIO_HTTP_WORKER_COUNT
  • Constructor Details

    • NioTransportPlugin

      public NioTransportPlugin()
  • Method Details

    • getSettings

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

      public Map<String,​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 Map<String,​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