Class TransportSnapshotsStatusAction
java.lang.Object
org.elasticsearch.action.support.TransportAction<Request,Response>
org.elasticsearch.action.support.HandledTransportAction<Request,Response>
org.elasticsearch.action.support.master.TransportMasterNodeAction<SnapshotsStatusRequest,SnapshotsStatusResponse>
org.elasticsearch.action.admin.cluster.snapshots.status.TransportSnapshotsStatusAction
public class TransportSnapshotsStatusAction
extends TransportMasterNodeAction<SnapshotsStatusRequest,SnapshotsStatusResponse>
-
Field Summary
Fields inherited from class org.elasticsearch.action.support.master.TransportMasterNodeAction
clusterService, executor, indexNameExpressionResolver, threadPool, transportServiceFields inherited from class org.elasticsearch.action.support.TransportAction
actionName, localConnection, taskManager -
Constructor Summary
ConstructorsConstructorDescriptionTransportSnapshotsStatusAction(TransportService transportService, ClusterService clusterService, ThreadPool threadPool, RepositoriesService repositoriesService, TransportNodesSnapshotsStatus transportNodesSnapshotsStatus, ActionFilters actionFilters, IndexNameExpressionResolver indexNameExpressionResolver) -
Method Summary
Modifier and TypeMethodDescriptionprotected ClusterBlockExceptioncheckBlock(SnapshotsStatusRequest request, ClusterState state)protected voidmasterOperation(SnapshotsStatusRequest request, ClusterState state, ActionListener<SnapshotsStatusResponse> listener)protected voidmasterOperation(Task task, SnapshotsStatusRequest request, ClusterState state, ActionListener<SnapshotsStatusResponse> listener)Override this operation if access to the task parameter is neededMethods inherited from class org.elasticsearch.action.support.master.TransportMasterNodeAction
doExecute, getMasterActionName, localExecuteMethods inherited from class org.elasticsearch.action.support.TransportAction
execute, execute, execute
-
Constructor Details
-
TransportSnapshotsStatusAction
@Inject public TransportSnapshotsStatusAction(TransportService transportService, ClusterService clusterService, ThreadPool threadPool, RepositoriesService repositoriesService, TransportNodesSnapshotsStatus transportNodesSnapshotsStatus, ActionFilters actionFilters, IndexNameExpressionResolver indexNameExpressionResolver)
-
-
Method Details
-
checkBlock
- Specified by:
checkBlockin classTransportMasterNodeAction<SnapshotsStatusRequest,SnapshotsStatusResponse>
-
masterOperation
protected void masterOperation(SnapshotsStatusRequest request, ClusterState state, ActionListener<SnapshotsStatusResponse> listener) throws Exception- Specified by:
masterOperationin classTransportMasterNodeAction<SnapshotsStatusRequest,SnapshotsStatusResponse>- Throws:
Exception
-
masterOperation
protected void masterOperation(Task task, SnapshotsStatusRequest request, ClusterState state, ActionListener<SnapshotsStatusResponse> listener) throws ExceptionDescription copied from class:TransportMasterNodeActionOverride this operation if access to the task parameter is needed- Overrides:
masterOperationin classTransportMasterNodeAction<SnapshotsStatusRequest,SnapshotsStatusResponse>- Throws:
Exception
-