public class ClusterServiceUtils
extends java.lang.Object
Constructor and Description |
---|
ClusterServiceUtils() |
Modifier and Type | Method and Description |
---|---|
static org.elasticsearch.cluster.service.ClusterService |
createClusterService(org.elasticsearch.cluster.ClusterState initialState,
org.elasticsearch.threadpool.ThreadPool threadPool) |
static org.elasticsearch.cluster.service.ClusterService |
createClusterService(org.elasticsearch.threadpool.ThreadPool threadPool) |
static org.elasticsearch.cluster.service.ClusterService |
createClusterService(org.elasticsearch.threadpool.ThreadPool threadPool,
org.elasticsearch.cluster.node.DiscoveryNode localNode) |
static void |
setState(org.elasticsearch.cluster.service.ClusterService clusterService,
org.elasticsearch.cluster.ClusterState.Builder clusterStateBuilder) |
static void |
setState(org.elasticsearch.cluster.service.ClusterService clusterService,
org.elasticsearch.cluster.ClusterState clusterState) |
public static org.elasticsearch.cluster.service.ClusterService createClusterService(org.elasticsearch.threadpool.ThreadPool threadPool)
public static org.elasticsearch.cluster.service.ClusterService createClusterService(org.elasticsearch.threadpool.ThreadPool threadPool, org.elasticsearch.cluster.node.DiscoveryNode localNode)
public static org.elasticsearch.cluster.service.ClusterService createClusterService(org.elasticsearch.cluster.ClusterState initialState, org.elasticsearch.threadpool.ThreadPool threadPool)
public static void setState(org.elasticsearch.cluster.service.ClusterService clusterService, org.elasticsearch.cluster.ClusterState.Builder clusterStateBuilder)
public static void setState(org.elasticsearch.cluster.service.ClusterService clusterService, org.elasticsearch.cluster.ClusterState clusterState)