Class TransportCreateSnapshotAction
java.lang.Object
org.elasticsearch.action.support.TransportAction<Request,Response>
org.elasticsearch.action.support.HandledTransportAction<Request,Response>
org.elasticsearch.action.support.master.TransportMasterNodeAction<CreateSnapshotRequest,CreateSnapshotResponse>
org.elasticsearch.action.admin.cluster.snapshots.create.TransportCreateSnapshotAction
public class TransportCreateSnapshotAction
extends TransportMasterNodeAction<CreateSnapshotRequest,CreateSnapshotResponse>
Transport action for create snapshot operation
-
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
ConstructorDescriptionTransportCreateSnapshotAction
(TransportService transportService, ClusterService clusterService, ThreadPool threadPool, SnapshotsService snapshotsService, ActionFilters actionFilters, IndexNameExpressionResolver indexNameExpressionResolver) -
Method Summary
Modifier and TypeMethodDescriptionprotected ClusterBlockException
checkBlock
(CreateSnapshotRequest request, ClusterState state) protected void
masterOperation
(Task task, CreateSnapshotRequest request, ClusterState state, ActionListener<CreateSnapshotResponse> listener) Methods inherited from class org.elasticsearch.action.support.master.TransportMasterNodeAction
doExecute, localExecute
Methods inherited from class org.elasticsearch.action.support.TransportAction
execute
-
Constructor Details
-
TransportCreateSnapshotAction
@Inject public TransportCreateSnapshotAction(TransportService transportService, ClusterService clusterService, ThreadPool threadPool, SnapshotsService snapshotsService, ActionFilters actionFilters, IndexNameExpressionResolver indexNameExpressionResolver)
-
-
Method Details
-
checkBlock
- Specified by:
checkBlock
in classTransportMasterNodeAction<CreateSnapshotRequest,
CreateSnapshotResponse>
-
masterOperation
protected void masterOperation(Task task, CreateSnapshotRequest request, ClusterState state, ActionListener<CreateSnapshotResponse> listener) - Specified by:
masterOperation
in classTransportMasterNodeAction<CreateSnapshotRequest,
CreateSnapshotResponse>
-