Package org.elasticsearch.transport.nio
Class NioTransportPlugin
java.lang.Object
org.elasticsearch.plugins.Plugin
org.elasticsearch.transport.nio.NioTransportPlugin
- All Implemented Interfaces:
Closeable,AutoCloseable,NetworkPlugin
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetHttpTransports(Settings settings, ThreadPool threadPool, BigArrays bigArrays, PageCacheRecycler pageCacheRecycler, CircuitBreakerService circuitBreakerService, org.elasticsearch.xcontent.NamedXContentRegistry xContentRegistry, NetworkService networkService, HttpServerTransport.Dispatcher dispatcher, ClusterSettings clusterSettings) 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, getAdditionalIndexSettingProviders, getBootstrapChecks, getExecutorBuilders, getFeature, getGuiceServiceClasses, getIndexTemplateMetadataUpgrader, getNamedWriteables, getNamedXContent, getRoles, getSettingsFilter, getSettingUpgraders, onIndexModuleMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.elasticsearch.plugins.NetworkPlugin
getTransportInterceptors
-
Field Details
-
NIO_TRANSPORT_NAME
- See Also:
-
NIO_HTTP_TRANSPORT_NAME
- See Also:
-
NIO_WORKER_COUNT
-
NIO_HTTP_WORKER_COUNT
-
-
Constructor Details
-
NioTransportPlugin
public NioTransportPlugin()
-
-
Method Details
-
getSettings
- Overrides:
getSettingsin classPlugin
-
getTransports
public Map<String,Supplier<Transport>> getTransports(Settings settings, ThreadPool threadPool, PageCacheRecycler pageCacheRecycler, CircuitBreakerService circuitBreakerService, NamedWriteableRegistry namedWriteableRegistry, NetworkService networkService) - Specified by:
getTransportsin interfaceNetworkPlugin
-
getHttpTransports
public Map<String,Supplier<HttpServerTransport>> getHttpTransports(Settings settings, ThreadPool threadPool, BigArrays bigArrays, PageCacheRecycler pageCacheRecycler, CircuitBreakerService circuitBreakerService, org.elasticsearch.xcontent.NamedXContentRegistry xContentRegistry, NetworkService networkService, HttpServerTransport.Dispatcher dispatcher, ClusterSettings clusterSettings) - Specified by:
getHttpTransportsin interfaceNetworkPlugin
-