Module org.elasticsearch.server
Class TransportSnapshotsStatusAction
java.lang.Object
org.elasticsearch.action.support.TransportAction<SnapshotsStatusRequest,SnapshotsStatusResponse>
org.elasticsearch.action.support.HandledTransportAction<SnapshotsStatusRequest,SnapshotsStatusResponse>
org.elasticsearch.action.support.master.TransportMasterNodeAction<SnapshotsStatusRequest,SnapshotsStatusResponse>
org.elasticsearch.action.admin.cluster.snapshots.status.TransportSnapshotsStatusAction
- All Implemented Interfaces:
ActionWithReservedState<SnapshotsStatusRequest>
public class TransportSnapshotsStatusAction
extends TransportMasterNodeAction<SnapshotsStatusRequest,SnapshotsStatusResponse>
-
Field Summary
FieldsFields inherited from class org.elasticsearch.action.support.master.TransportMasterNodeAction
clusterService, executor, threadPool, transportServiceFields inherited from class org.elasticsearch.action.support.TransportAction
actionName, taskManager -
Constructor Summary
ConstructorsConstructorDescriptionTransportSnapshotsStatusAction(TransportService transportService, ClusterService clusterService, ThreadPool threadPool, RepositoriesService repositoriesService, NodeClient client, ActionFilters actionFilters, ProjectResolver projectResolver) -
Method Summary
Modifier and TypeMethodDescriptionprotected ClusterBlockExceptioncheckBlock(SnapshotsStatusRequest request, ClusterState state) protected voidmasterOperation(Task task, SnapshotsStatusRequest request, ClusterState state, ActionListener<SnapshotsStatusResponse> listener) Methods inherited from class org.elasticsearch.action.support.master.TransportMasterNodeAction
doExecute, localExecute, validateForReservedStateMethods inherited from class org.elasticsearch.action.support.TransportAction
execute, executeDirect, localOnlyMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.elasticsearch.reservedstate.ActionWithReservedState
modifiedKeys, reservedStateHandlerName, validateForReservedState
-
Field Details
-
TYPE
-
-
Constructor Details
-
TransportSnapshotsStatusAction
@Inject public TransportSnapshotsStatusAction(TransportService transportService, ClusterService clusterService, ThreadPool threadPool, RepositoriesService repositoriesService, NodeClient client, ActionFilters actionFilters, ProjectResolver projectResolver)
-
-
Method Details
-
checkBlock
- Specified by:
checkBlockin classTransportMasterNodeAction<SnapshotsStatusRequest,SnapshotsStatusResponse>
-
masterOperation
protected void masterOperation(Task task, SnapshotsStatusRequest request, ClusterState state, ActionListener<SnapshotsStatusResponse> listener) throws Exception - Specified by:
masterOperationin classTransportMasterNodeAction<SnapshotsStatusRequest,SnapshotsStatusResponse> - Throws:
Exception
-