Class MetaDataIndexStateService
- java.lang.Object
-
- org.elasticsearch.common.component.AbstractComponent
-
- org.elasticsearch.cluster.metadata.MetaDataIndexStateService
-
public class MetaDataIndexStateService extends AbstractComponent
Service responsible for submitting open/close index requests
-
-
Field Summary
Fields Modifier and Type Field Description static ClusterBlock
INDEX_CLOSED_BLOCK
-
Constructor Summary
Constructors Constructor Description MetaDataIndexStateService(ClusterService clusterService, AllocationService allocationService, MetaDataIndexUpgradeService metaDataIndexUpgradeService, IndicesService indicesService, ThreadPool threadPool)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
closeIndex(CloseIndexClusterStateUpdateRequest request, ActionListener<ClusterStateUpdateResponse> listener)
void
openIndex(OpenIndexClusterStateUpdateRequest request, ActionListener<OpenIndexClusterStateUpdateResponse> listener)
-
-
-
Field Detail
-
INDEX_CLOSED_BLOCK
public static final ClusterBlock INDEX_CLOSED_BLOCK
-
-
Constructor Detail
-
MetaDataIndexStateService
@Inject public MetaDataIndexStateService(ClusterService clusterService, AllocationService allocationService, MetaDataIndexUpgradeService metaDataIndexUpgradeService, IndicesService indicesService, ThreadPool threadPool)
-
-
Method Detail
-
closeIndex
public void closeIndex(CloseIndexClusterStateUpdateRequest request, ActionListener<ClusterStateUpdateResponse> listener)
-
openIndex
public void openIndex(OpenIndexClusterStateUpdateRequest request, ActionListener<OpenIndexClusterStateUpdateResponse> listener)
-
-