public class TransportCreateSnapshotAction extends TransportMasterNodeOperationAction<CreateSnapshotRequest,CreateSnapshotResponse>
clusterService, transportServiceactionName, threadPoolcomponentSettings, 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, processBeforeDelegationToMasterexecute, executenodeName@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>ElasticsearchExceptionCopyright © 2009–2016. All rights reserved.