Module org.elasticsearch.server
Class TransportGetShardSnapshotAction
java.lang.Object
org.elasticsearch.action.support.TransportAction<Request,Response>
org.elasticsearch.action.support.HandledTransportAction<Request,Response>
org.elasticsearch.action.support.master.TransportMasterNodeAction<GetShardSnapshotRequest,GetShardSnapshotResponse>
org.elasticsearch.action.admin.cluster.snapshots.get.shard.TransportGetShardSnapshotAction
- All Implemented Interfaces:
ActionWithReservedState<GetShardSnapshotRequest>
public class TransportGetShardSnapshotAction
extends TransportMasterNodeAction<GetShardSnapshotRequest,GetShardSnapshotResponse>
-
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, taskManager
-
Constructor Summary
ConstructorDescriptionTransportGetShardSnapshotAction
(TransportService transportService, ClusterService clusterService, ThreadPool threadPool, RepositoriesService repositoriesService, ActionFilters actionFilters, IndexNameExpressionResolver indexNameExpressionResolver) -
Method Summary
Modifier and TypeMethodDescriptionprotected ClusterBlockException
checkBlock
(GetShardSnapshotRequest request, ClusterState state) protected void
masterOperation
(Task task, GetShardSnapshotRequest request, ClusterState state, ActionListener<GetShardSnapshotResponse> listener) Methods inherited from class org.elasticsearch.action.support.master.TransportMasterNodeAction
doExecute, localExecute
Methods inherited from class org.elasticsearch.action.support.TransportAction
execute, localOnly
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.elasticsearch.reservedstate.ActionWithReservedState
modifiedKeys, reservedStateHandlerName, validateForReservedState
-
Constructor Details
-
TransportGetShardSnapshotAction
@Inject public TransportGetShardSnapshotAction(TransportService transportService, ClusterService clusterService, ThreadPool threadPool, RepositoriesService repositoriesService, ActionFilters actionFilters, IndexNameExpressionResolver indexNameExpressionResolver)
-
-
Method Details
-
masterOperation
protected void masterOperation(Task task, GetShardSnapshotRequest request, ClusterState state, ActionListener<GetShardSnapshotResponse> listener) throws Exception - Specified by:
masterOperation
in classTransportMasterNodeAction<GetShardSnapshotRequest,
GetShardSnapshotResponse> - Throws:
Exception
-
checkBlock
- Specified by:
checkBlock
in classTransportMasterNodeAction<GetShardSnapshotRequest,
GetShardSnapshotResponse>
-