Package org.elasticsearch.common.network
Class NetworkModule
java.lang.Object
org.elasticsearch.common.network.NetworkModule
A module to handle registering and binding all network related classes.
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionNetworkModule
(Settings settings, List<NetworkPlugin> plugins, ThreadPool threadPool, BigArrays bigArrays, PageCacheRecycler pageCacheRecycler, CircuitBreakerService circuitBreakerService, NamedWriteableRegistry namedWriteableRegistry, org.elasticsearch.xcontent.NamedXContentRegistry xContentRegistry, NetworkService networkService, HttpServerTransport.Dispatcher dispatcher, ClusterSettings clusterSettings) Creates a network module that custom networking classes can be plugged into. -
Method Summary
Modifier and TypeMethodDescriptionstatic List<NamedWriteableRegistry.Entry>
static List<org.elasticsearch.xcontent.NamedXContentRegistry.Entry>
Returns a compositeTransportInterceptor
containing all registered interceptors
-
Field Details
-
TRANSPORT_TYPE_KEY
- See Also:
-
HTTP_TYPE_KEY
- See Also:
-
HTTP_TYPE_DEFAULT_KEY
- See Also:
-
TRANSPORT_TYPE_DEFAULT_KEY
- See Also:
-
TRANSPORT_DEFAULT_TYPE_SETTING
-
HTTP_DEFAULT_TYPE_SETTING
-
HTTP_TYPE_SETTING
-
TRANSPORT_TYPE_SETTING
-
-
Constructor Details
-
NetworkModule
public NetworkModule(Settings settings, List<NetworkPlugin> plugins, ThreadPool threadPool, BigArrays bigArrays, PageCacheRecycler pageCacheRecycler, CircuitBreakerService circuitBreakerService, NamedWriteableRegistry namedWriteableRegistry, org.elasticsearch.xcontent.NamedXContentRegistry xContentRegistry, NetworkService networkService, HttpServerTransport.Dispatcher dispatcher, ClusterSettings clusterSettings) Creates a network module that custom networking classes can be plugged into.- Parameters:
settings
- The settings for the node
-
-
Method Details
-
getNamedWriteables
-
getNamedXContents
-
getHttpServerTransportSupplier
-
getTransportSupplier
-
getTransportInterceptor
Returns a compositeTransportInterceptor
containing all registered interceptors- See Also:
-
registerTransportInterceptor(TransportInterceptor)
-