Class TransportIndicesExistsAction
java.lang.Object
org.elasticsearch.action.support.TransportAction<Request,Response>
org.elasticsearch.action.support.HandledTransportAction<Request,Response>
org.elasticsearch.action.support.master.TransportMasterNodeAction<Request,Response>
org.elasticsearch.action.support.master.TransportMasterNodeReadAction<IndicesExistsRequest,IndicesExistsResponse>
org.elasticsearch.action.admin.indices.exists.indices.TransportIndicesExistsAction
public class TransportIndicesExistsAction
extends TransportMasterNodeReadAction<IndicesExistsRequest,IndicesExistsResponse>
Indices exists action.
-
Field Summary
Fields inherited from class org.elasticsearch.action.support.master.TransportMasterNodeAction
clusterService, executor, indexNameExpressionResolver, threadPool, transportService
Fields inherited from class org.elasticsearch.action.support.TransportAction
actionName, localConnection, taskManager
-
Constructor Summary
ConstructorDescriptionTransportIndicesExistsAction(TransportService transportService, ClusterService clusterService, ThreadPool threadPool, ActionFilters actionFilters, IndexNameExpressionResolver indexNameExpressionResolver)
-
Method Summary
Modifier and TypeMethodDescriptionprotected ClusterBlockException
checkBlock(IndicesExistsRequest request, ClusterState state)
protected void
masterOperation(IndicesExistsRequest request, ClusterState state, ActionListener<IndicesExistsResponse> listener)
Methods inherited from class org.elasticsearch.action.support.master.TransportMasterNodeReadAction
localExecute
Methods inherited from class org.elasticsearch.action.support.master.TransportMasterNodeAction
doExecute, getMasterActionName, masterOperation
Methods inherited from class org.elasticsearch.action.support.TransportAction
execute, execute, execute
-
Constructor Details
-
TransportIndicesExistsAction
@Inject public TransportIndicesExistsAction(TransportService transportService, ClusterService clusterService, ThreadPool threadPool, ActionFilters actionFilters, IndexNameExpressionResolver indexNameExpressionResolver)
-
-
Method Details
-
checkBlock
- Specified by:
checkBlock
in classTransportMasterNodeAction<IndicesExistsRequest,IndicesExistsResponse>
-
masterOperation
protected void masterOperation(IndicesExistsRequest request, ClusterState state, ActionListener<IndicesExistsResponse> listener)- Specified by:
masterOperation
in classTransportMasterNodeAction<IndicesExistsRequest,IndicesExistsResponse>
-