Package org.elasticsearch.transport.nio
Class MockNioTransportPlugin
java.lang.Object
org.elasticsearch.plugins.Plugin
org.elasticsearch.transport.nio.MockNioTransportPlugin
- All Implemented Interfaces:
java.io.Closeable
,java.lang.AutoCloseable
,org.elasticsearch.plugins.NetworkPlugin
public class MockNioTransportPlugin
extends org.elasticsearch.plugins.Plugin
implements org.elasticsearch.plugins.NetworkPlugin
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
MOCK_NIO_TRANSPORT_NAME
-
Constructor Summary
Constructors Constructor Description MockNioTransportPlugin()
-
Method Summary
Modifier and Type Method Description java.util.Map<java.lang.String,java.util.function.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, getSettings, 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
getHttpTransports, getTransportInterceptors
-
Field Details
-
MOCK_NIO_TRANSPORT_NAME
public static final java.lang.String MOCK_NIO_TRANSPORT_NAME- See Also:
- Constant Field Values
-
-
Constructor Details
-
MockNioTransportPlugin
public MockNioTransportPlugin()
-
-
Method Details
-
getTransports
public java.util.Map<java.lang.String,java.util.function.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 interfaceorg.elasticsearch.plugins.NetworkPlugin
-