Package org.elasticsearch.transport.nio
Class NioTransportPlugin
java.lang.Object
org.elasticsearch.plugins.Plugin
org.elasticsearch.transport.nio.NioTransportPlugin
- All Implemented Interfaces:
java.io.Closeable,java.lang.AutoCloseable,NetworkPlugin
public class NioTransportPlugin extends Plugin implements NetworkPlugin
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringNIO_HTTP_TRANSPORT_NAMEstatic Setting<java.lang.Integer>NIO_HTTP_WORKER_COUNTstatic java.lang.StringNIO_TRANSPORT_NAMEstatic Setting<java.lang.Integer>NIO_WORKER_COUNT -
Constructor Summary
Constructors Constructor Description NioTransportPlugin() -
Method Summary
Modifier and Type Method Description java.util.Map<java.lang.String,java.util.function.Supplier<HttpServerTransport>>getHttpTransports(Settings settings, ThreadPool threadPool, BigArrays bigArrays, PageCacheRecycler pageCacheRecycler, CircuitBreakerService circuitBreakerService, NamedXContentRegistry xContentRegistry, NetworkService networkService, HttpServerTransport.Dispatcher dispatcher)java.util.List<Setting<?>>getSettings()java.util.Map<java.lang.String,java.util.function.Supplier<Transport>>getTransports(Settings settings, ThreadPool threadPool, PageCacheRecycler pageCacheRecycler, CircuitBreakerService circuitBreakerService, NamedWriteableRegistry namedWriteableRegistry, NetworkService networkService)Methods inherited from class org.elasticsearch.plugins.Plugin
additionalSettings, close, createComponents, createGuiceModules, getBootstrapChecks, getExecutorBuilders, getFeature, getGuiceServiceClasses, getIndexTemplateMetaDataUpgrader, getNamedWriteables, getNamedXContent, getRoles, getSettingsFilter, getSettingUpgraders, onIndexModule
-
Field Details
-
NIO_TRANSPORT_NAME
public static final java.lang.String NIO_TRANSPORT_NAME- See Also:
- Constant Field Values
-
NIO_HTTP_TRANSPORT_NAME
public static final java.lang.String NIO_HTTP_TRANSPORT_NAME- See Also:
- Constant Field Values
-
NIO_WORKER_COUNT
-
NIO_HTTP_WORKER_COUNT
-
-
Constructor Details
-
NioTransportPlugin
public NioTransportPlugin()
-
-
Method Details
-
getSettings
- Overrides:
getSettingsin classPlugin
-
getTransports
public java.util.Map<java.lang.String,java.util.function.Supplier<Transport>> getTransports(Settings settings, ThreadPool threadPool, PageCacheRecycler pageCacheRecycler, CircuitBreakerService circuitBreakerService, NamedWriteableRegistry namedWriteableRegistry, NetworkService networkService)- Specified by:
getTransportsin interfaceNetworkPlugin
-
getHttpTransports
public java.util.Map<java.lang.String,java.util.function.Supplier<HttpServerTransport>> getHttpTransports(Settings settings, ThreadPool threadPool, BigArrays bigArrays, PageCacheRecycler pageCacheRecycler, CircuitBreakerService circuitBreakerService, NamedXContentRegistry xContentRegistry, NetworkService networkService, HttpServerTransport.Dispatcher dispatcher)- Specified by:
getHttpTransportsin interfaceNetworkPlugin
-