Package org.elasticsearch.transport
Class MockTcpTransportPlugin
- java.lang.Object
-
- org.elasticsearch.plugins.Plugin
-
- org.elasticsearch.transport.MockTcpTransportPlugin
-
- All Implemented Interfaces:
java.io.Closeable,java.lang.AutoCloseable,NetworkPlugin
public class MockTcpTransportPlugin extends Plugin implements NetworkPlugin
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringMOCK_TCP_TRANSPORT_NAME
-
Constructor Summary
Constructors Constructor Description MockTcpTransportPlugin()
-
Method Summary
Modifier and Type Method Description 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
additionalSettings, close, createComponents, createGuiceModules, getBootstrapChecks, getCustomMetaDataUpgrader, getExecutorBuilders, getFeature, getGuiceServiceClasses, getIndexMetaDataUpgrader, getIndexTemplateMetaDataUpgrader, getNamedWriteables, getNamedXContent, getSettings, 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
getHttpTransports, getTransportInterceptors
-
-
-
-
Field Detail
-
MOCK_TCP_TRANSPORT_NAME
public static final java.lang.String MOCK_TCP_TRANSPORT_NAME
- See Also:
- Constant Field Values
-
-
Method Detail
-
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:
getTransportsin interfaceNetworkPlugin
-
-