Class MockNioTransportPlugin
java.lang.Object
org.opensearch.plugins.Plugin
org.opensearch.transport.nio.MockNioTransportPlugin
- All Implemented Interfaces:
Closeable,AutoCloseable,org.opensearch.plugins.NetworkPlugin
public class MockNioTransportPlugin
extends org.opensearch.plugins.Plugin
implements org.opensearch.plugins.NetworkPlugin
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetTransports(org.opensearch.common.settings.Settings settings, org.opensearch.threadpool.ThreadPool threadPool, org.opensearch.common.util.PageCacheRecycler pageCacheRecycler, org.opensearch.core.indices.breaker.CircuitBreakerService circuitBreakerService, org.opensearch.core.common.io.stream.NamedWriteableRegistry namedWriteableRegistry, org.opensearch.common.network.NetworkService networkService, org.opensearch.telemetry.tracing.Tracer tracer) Methods inherited from class org.opensearch.plugins.Plugin
additionalSettings, close, createComponents, createGuiceModules, getAdditionalIndexSettingProviders, getBootstrapChecks, getExecutorBuilders, getFeature, getGuiceServiceClasses, getIndexTemplateMetadataUpgrader, getNamedWriteables, getNamedXContent, getRoles, getSecureSettingFactory, getSettings, getSettingsFilter, getSettingUpgraders, onIndexModuleMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.opensearch.plugins.NetworkPlugin
getAuxTransports, getHttpTransports, getSecureAuxTransports, getSecureHttpTransports, getSecureTransports, getTransportInterceptors
-
Field Details
-
MOCK_NIO_TRANSPORT_NAME
- See Also:
-
-
Constructor Details
-
MockNioTransportPlugin
public MockNioTransportPlugin()
-
-
Method Details
-
getTransports
public Map<String, 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.core.indices.breaker.CircuitBreakerService circuitBreakerService, org.opensearch.core.common.io.stream.NamedWriteableRegistry namedWriteableRegistry, org.opensearch.common.network.NetworkService networkService, org.opensearch.telemetry.tracing.Tracer tracer) - Specified by:
getTransportsin interfaceorg.opensearch.plugins.NetworkPlugin
-