Module org.elasticsearch.server
Class TransportGetSnapshotsAction
java.lang.Object
org.elasticsearch.action.support.TransportAction<GetSnapshotsRequest,GetSnapshotsResponse>
org.elasticsearch.action.support.HandledTransportAction<GetSnapshotsRequest,GetSnapshotsResponse>
org.elasticsearch.action.support.master.TransportMasterNodeAction<GetSnapshotsRequest,GetSnapshotsResponse>
org.elasticsearch.action.admin.cluster.snapshots.get.TransportGetSnapshotsAction
- All Implemented Interfaces:
ActionWithReservedState<GetSnapshotsRequest>
public class TransportGetSnapshotsAction
extends TransportMasterNodeAction<GetSnapshotsRequest,GetSnapshotsResponse>
Transport Action for get snapshots operation
-
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
ConstructorsConstructorDescriptionTransportGetSnapshotsAction(TransportService transportService, ClusterService clusterService, ThreadPool threadPool, RepositoriesService repositoriesService, ActionFilters actionFilters) -
Method Summary
Modifier and TypeMethodDescriptionprotected ClusterBlockExceptioncheckBlock(GetSnapshotsRequest request, ClusterState state) protected voidmasterOperation(Task task, GetSnapshotsRequest request, ClusterState state, ActionListener<GetSnapshotsResponse> listener) Methods inherited from class org.elasticsearch.action.support.master.TransportMasterNodeAction
doExecute, localExecuteMethods 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
-
TransportGetSnapshotsAction
@Inject public TransportGetSnapshotsAction(TransportService transportService, ClusterService clusterService, ThreadPool threadPool, RepositoriesService repositoriesService, ActionFilters actionFilters)
-
-
Method Details
-
checkBlock
- Specified by:
checkBlockin classTransportMasterNodeAction<GetSnapshotsRequest,GetSnapshotsResponse>
-
masterOperation
protected void masterOperation(Task task, GetSnapshotsRequest request, ClusterState state, ActionListener<GetSnapshotsResponse> listener) - Specified by:
masterOperationin classTransportMasterNodeAction<GetSnapshotsRequest,GetSnapshotsResponse>
-