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) |
protected org.elasticsearch.common.network.NetworkModule |
createNetworkModule(org.elasticsearch.common.settings.Settings settings,
org.elasticsearch.common.network.NetworkService networkService) |
java.util.Collection<java.lang.Class<? extends org.elasticsearch.plugins.Plugin>> |
getClasspathPlugins()
The classpath plugins this node was constructed with.
|
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) |
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.common.network.NetworkModule createNetworkModule(org.elasticsearch.common.settings.Settings settings, org.elasticsearch.common.network.NetworkService networkService)
createNetworkModule
in class org.elasticsearch.node.Node