Package org.opensearch.transport.nio
Class MockNioTransportPlugin
java.lang.Object
org.opensearch.plugins.Plugin
org.opensearch.transport.nio.MockNioTransportPlugin
- All Implemented Interfaces:
java.io.Closeable,java.lang.AutoCloseable,org.opensearch.plugins.NetworkPlugin
public class MockNioTransportPlugin
extends org.opensearch.plugins.Plugin
implements org.opensearch.plugins.NetworkPlugin
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringMOCK_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.opensearch.transport.Transport>>getTransports(org.opensearch.common.settings.Settings settings, org.opensearch.threadpool.ThreadPool threadPool, org.opensearch.common.util.PageCacheRecycler pageCacheRecycler, org.opensearch.indices.breaker.CircuitBreakerService circuitBreakerService, org.opensearch.common.io.stream.NamedWriteableRegistry namedWriteableRegistry, org.opensearch.common.network.NetworkService networkService)Methods inherited from class org.opensearch.plugins.Plugin
additionalSettings, close, createComponents, createGuiceModules, getAdditionalIndexSettingProviders, getBootstrapChecks, getExecutorBuilders, getFeature, getGuiceServiceClasses, getIndexTemplateMetadataUpgrader, getNamedWriteables, getNamedXContent, getRoles, getSettings, getSettingsFilter, getSettingUpgraders, onIndexModule
-
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.opensearch.transport.Transport>> getTransports(org.opensearch.common.settings.Settings settings, org.opensearch.threadpool.ThreadPool threadPool, org.opensearch.common.util.PageCacheRecycler pageCacheRecycler, org.opensearch.indices.breaker.CircuitBreakerService circuitBreakerService, org.opensearch.common.io.stream.NamedWriteableRegistry namedWriteableRegistry, org.opensearch.common.network.NetworkService networkService)- Specified by:
getTransportsin interfaceorg.opensearch.plugins.NetworkPlugin
-