Package org.elasticsearch.transport
Class Netty4Plugin
- java.lang.Object
-
- org.elasticsearch.plugins.Plugin
-
- org.elasticsearch.transport.Netty4Plugin
-
- All Implemented Interfaces:
java.io.Closeable
,java.lang.AutoCloseable
,NetworkPlugin
public class Netty4Plugin extends Plugin implements 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
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Settings
additionalSettings()
java.util.Map<java.lang.String,java.util.function.Supplier<HttpServerTransport>>
getHttpTransports(Settings settings, ThreadPool threadPool, BigArrays bigArrays, CircuitBreakerService circuitBreakerService, NamedWriteableRegistry namedWriteableRegistry, 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
close, createComponents, createGuiceModules, getBootstrapChecks, getCustomMetaDataUpgrader, getExecutorBuilders, getFeature, getGuiceServiceClasses, getIndexMetaDataUpgrader, getIndexTemplateMetaDataUpgrader, getNamedWriteables, getNamedXContent, getSettingsFilter, getSettingUpgraders, onIndexModule, onModule, onModule, onModule, onModule, onModule, onModule, onModule, onModule, onModule, onModule
-
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 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
-
-
Method Detail
-
getSettings
public java.util.List<Setting<?>> getSettings()
- Overrides:
getSettings
in classPlugin
-
additionalSettings
public Settings additionalSettings()
- Overrides:
additionalSettings
in 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:
getTransports
in interfaceNetworkPlugin
-
getHttpTransports
public java.util.Map<java.lang.String,java.util.function.Supplier<HttpServerTransport>> getHttpTransports(Settings settings, ThreadPool threadPool, BigArrays bigArrays, CircuitBreakerService circuitBreakerService, NamedWriteableRegistry namedWriteableRegistry, NamedXContentRegistry xContentRegistry, NetworkService networkService, HttpServerTransport.Dispatcher dispatcher)
- Specified by:
getHttpTransports
in interfaceNetworkPlugin
-
-