public class MockNode
extends org.elasticsearch.node.Node
Constructor and Description |
---|
MockNode(org.elasticsearch.common.settings.Settings settings,
java.util.Collection<java.lang.Class<? extends org.elasticsearch.plugins.Plugin>> classpathPlugins) |
Modifier and Type | Method and Description |
---|---|
protected org.elasticsearch.common.util.BigArrays |
createBigArrays(org.elasticsearch.common.settings.Settings settings,
org.elasticsearch.indices.breaker.CircuitBreakerService circuitBreakerService) |
java.util.Collection<java.lang.Class<? extends org.elasticsearch.plugins.Plugin>> |
getClasspathPlugins()
The classpath plugins this node was constructed with.
|
protected org.elasticsearch.cluster.ClusterInfoService |
newClusterInfoService(org.elasticsearch.common.settings.Settings settings,
org.elasticsearch.cluster.service.ClusterService clusterService,
org.elasticsearch.threadpool.ThreadPool threadPool,
org.elasticsearch.client.node.NodeClient client) |
protected org.elasticsearch.search.SearchService |
newSearchService(org.elasticsearch.cluster.service.ClusterService clusterService,
org.elasticsearch.indices.IndicesService indicesService,
org.elasticsearch.threadpool.ThreadPool threadPool,
org.elasticsearch.script.ScriptService scriptService,
org.elasticsearch.common.util.BigArrays bigArrays,
org.elasticsearch.search.fetch.FetchPhase fetchPhase) |
protected org.elasticsearch.transport.TransportService |
newTransportService(org.elasticsearch.common.settings.Settings settings,
org.elasticsearch.transport.Transport transport,
org.elasticsearch.threadpool.ThreadPool threadPool,
org.elasticsearch.transport.TransportInterceptor interceptor,
org.elasticsearch.common.settings.ClusterSettings clusterSettings) |
protected org.elasticsearch.node.Node |
newTribeClientNode(org.elasticsearch.common.settings.Settings settings,
java.util.Collection<java.lang.Class<? extends org.elasticsearch.plugins.Plugin>> classpathPlugins) |
protected void |
processRecoverySettings(org.elasticsearch.common.settings.ClusterSettings clusterSettings,
org.elasticsearch.indices.recovery.RecoverySettings recoverySettings) |
public MockNode(org.elasticsearch.common.settings.Settings settings, java.util.Collection<java.lang.Class<? extends org.elasticsearch.plugins.Plugin>> classpathPlugins)
public java.util.Collection<java.lang.Class<? extends org.elasticsearch.plugins.Plugin>> getClasspathPlugins()
protected org.elasticsearch.common.util.BigArrays createBigArrays(org.elasticsearch.common.settings.Settings settings, org.elasticsearch.indices.breaker.CircuitBreakerService circuitBreakerService)
createBigArrays
in class org.elasticsearch.node.Node
protected org.elasticsearch.search.SearchService newSearchService(org.elasticsearch.cluster.service.ClusterService clusterService, org.elasticsearch.indices.IndicesService indicesService, org.elasticsearch.threadpool.ThreadPool threadPool, org.elasticsearch.script.ScriptService scriptService, org.elasticsearch.common.util.BigArrays bigArrays, org.elasticsearch.search.fetch.FetchPhase fetchPhase)
newSearchService
in class org.elasticsearch.node.Node
protected org.elasticsearch.transport.TransportService newTransportService(org.elasticsearch.common.settings.Settings settings, org.elasticsearch.transport.Transport transport, org.elasticsearch.threadpool.ThreadPool threadPool, org.elasticsearch.transport.TransportInterceptor interceptor, org.elasticsearch.common.settings.ClusterSettings clusterSettings)
newTransportService
in class org.elasticsearch.node.Node
protected org.elasticsearch.node.Node newTribeClientNode(org.elasticsearch.common.settings.Settings settings, java.util.Collection<java.lang.Class<? extends org.elasticsearch.plugins.Plugin>> classpathPlugins)
newTribeClientNode
in class org.elasticsearch.node.Node
protected void processRecoverySettings(org.elasticsearch.common.settings.ClusterSettings clusterSettings, org.elasticsearch.indices.recovery.RecoverySettings recoverySettings)
processRecoverySettings
in class org.elasticsearch.node.Node
protected org.elasticsearch.cluster.ClusterInfoService newClusterInfoService(org.elasticsearch.common.settings.Settings settings, org.elasticsearch.cluster.service.ClusterService clusterService, org.elasticsearch.threadpool.ThreadPool threadPool, org.elasticsearch.client.node.NodeClient client)
newClusterInfoService
in class org.elasticsearch.node.Node