public class TransportCreateSnapshotAction extends TransportMasterNodeOperationAction<CreateSnapshotRequest,CreateSnapshotResponse>
clusterService, transportService
actionName, threadPool
componentSettings, logger, settings
Constructor and Description |
---|
TransportCreateSnapshotAction(Settings settings,
TransportService transportService,
ClusterService clusterService,
ThreadPool threadPool,
SnapshotsService snapshotsService,
ActionFilters actionFilters) |
Modifier and Type | Method and Description |
---|---|
protected ClusterBlockException |
checkBlock(CreateSnapshotRequest request,
ClusterState state) |
protected String |
executor() |
protected void |
masterOperation(CreateSnapshotRequest request,
ClusterState state,
ActionListener<CreateSnapshotResponse> listener) |
protected CreateSnapshotRequest |
newRequest() |
protected CreateSnapshotResponse |
newResponse() |
doExecute, forceThreadedListener, localExecute, processBeforeDelegationToMaster
execute, execute
nodeName
@Inject public TransportCreateSnapshotAction(Settings settings, TransportService transportService, ClusterService clusterService, ThreadPool threadPool, SnapshotsService snapshotsService, ActionFilters actionFilters)
protected String executor()
executor
in class TransportMasterNodeOperationAction<CreateSnapshotRequest,CreateSnapshotResponse>
protected CreateSnapshotRequest newRequest()
newRequest
in class TransportMasterNodeOperationAction<CreateSnapshotRequest,CreateSnapshotResponse>
protected CreateSnapshotResponse newResponse()
newResponse
in class TransportMasterNodeOperationAction<CreateSnapshotRequest,CreateSnapshotResponse>
protected ClusterBlockException checkBlock(CreateSnapshotRequest request, ClusterState state)
checkBlock
in class TransportMasterNodeOperationAction<CreateSnapshotRequest,CreateSnapshotResponse>
protected void masterOperation(CreateSnapshotRequest request, ClusterState state, ActionListener<CreateSnapshotResponse> listener) throws ElasticsearchException
masterOperation
in class TransportMasterNodeOperationAction<CreateSnapshotRequest,CreateSnapshotResponse>
ElasticsearchException
Copyright © 2009–2015. All rights reserved.