Module org.elasticsearch.server
Package org.elasticsearch.snapshots
Class TransportUpdateSnapshotStatusAction
java.lang.Object
org.elasticsearch.action.support.TransportAction<UpdateIndexShardSnapshotStatusRequest,ActionResponse.Empty>
org.elasticsearch.action.support.HandledTransportAction<UpdateIndexShardSnapshotStatusRequest,ActionResponse.Empty>
org.elasticsearch.action.support.master.TransportMasterNodeAction<UpdateIndexShardSnapshotStatusRequest,ActionResponse.Empty>
org.elasticsearch.snapshots.TransportUpdateSnapshotStatusAction
- All Implemented Interfaces:
ActionWithReservedState<UpdateIndexShardSnapshotStatusRequest>
public final class TransportUpdateSnapshotStatusAction
extends TransportMasterNodeAction<UpdateIndexShardSnapshotStatusRequest,ActionResponse.Empty>
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Stringstatic final ActionType<ActionResponse.Empty> Fields 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
ConstructorsConstructorDescriptionTransportUpdateSnapshotStatusAction(TransportService transportService, ClusterService clusterService, ThreadPool threadPool, SnapshotsService snapshotsService, ActionFilters actionFilters) -
Method Summary
Modifier and TypeMethodDescriptionprotected ClusterBlockExceptioncheckBlock(UpdateIndexShardSnapshotStatusRequest request, ClusterState state) protected voidmasterOperation(Task task, UpdateIndexShardSnapshotStatusRequest request, ClusterState state, ActionListener<ActionResponse.Empty> 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
-
NAME
- See Also:
-
TYPE
-
-
Constructor Details
-
TransportUpdateSnapshotStatusAction
@Inject public TransportUpdateSnapshotStatusAction(TransportService transportService, ClusterService clusterService, ThreadPool threadPool, SnapshotsService snapshotsService, ActionFilters actionFilters)
-
-
Method Details
-
masterOperation
protected void masterOperation(Task task, UpdateIndexShardSnapshotStatusRequest request, ClusterState state, ActionListener<ActionResponse.Empty> listener) - Specified by:
masterOperationin classTransportMasterNodeAction<UpdateIndexShardSnapshotStatusRequest,ActionResponse.Empty>
-
checkBlock
protected ClusterBlockException checkBlock(UpdateIndexShardSnapshotStatusRequest request, ClusterState state) - Specified by:
checkBlockin classTransportMasterNodeAction<UpdateIndexShardSnapshotStatusRequest,ActionResponse.Empty>
-