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, indexNameExpressionResolver, threadPool, transportServiceFields inherited from class org.elasticsearch.action.support.TransportAction
actionName, taskManager -
Constructor Summary
Constructors Constructor Description TransportIndicesExistsAction(TransportService transportService, ClusterService clusterService, ThreadPool threadPool, ActionFilters actionFilters, IndexNameExpressionResolver indexNameExpressionResolver) -
Method Summary
Modifier and Type Method Description protected ClusterBlockExceptioncheckBlock(IndicesExistsRequest request, ClusterState state)protected java.lang.Stringexecutor()protected voidmasterOperation(IndicesExistsRequest request, ClusterState state, ActionListener<IndicesExistsResponse> listener)protected IndicesExistsResponseread(StreamInput in)Methods inherited from class org.elasticsearch.action.support.master.TransportMasterNodeReadAction
localExecuteMethods inherited from class org.elasticsearch.action.support.master.TransportMasterNodeAction
doExecute, getMasterActionName, masterOperationMethods 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
-
executor
protected java.lang.String executor()- Specified by:
executorin classTransportMasterNodeAction<IndicesExistsRequest,IndicesExistsResponse>
-
read
- Specified by:
readin classTransportMasterNodeAction<IndicesExistsRequest,IndicesExistsResponse>- Throws:
java.io.IOException
-
checkBlock
- Specified by:
checkBlockin classTransportMasterNodeAction<IndicesExistsRequest,IndicesExistsResponse>
-
masterOperation
protected void masterOperation(IndicesExistsRequest request, ClusterState state, ActionListener<IndicesExistsResponse> listener)- Specified by:
masterOperationin classTransportMasterNodeAction<IndicesExistsRequest,IndicesExistsResponse>
-