public class TransportRestoreSnapshotAction extends TransportMasterNodeOperationAction<RestoreSnapshotRequest,RestoreSnapshotResponse>
clusterService, transportServiceactionName, threadPoolcomponentSettings, logger, settings| Constructor and Description |
|---|
TransportRestoreSnapshotAction(Settings settings,
TransportService transportService,
ClusterService clusterService,
ThreadPool threadPool,
RestoreService restoreService,
ActionFilters actionFilters) |
| Modifier and Type | Method and Description |
|---|---|
protected ClusterBlockException |
checkBlock(RestoreSnapshotRequest request,
ClusterState state) |
protected String |
executor() |
protected void |
masterOperation(RestoreSnapshotRequest request,
ClusterState state,
ActionListener<RestoreSnapshotResponse> listener) |
protected RestoreSnapshotRequest |
newRequest() |
protected RestoreSnapshotResponse |
newResponse() |
doExecute, forceThreadedListener, localExecute, processBeforeDelegationToMasterexecute, executenodeName@Inject public TransportRestoreSnapshotAction(Settings settings, TransportService transportService, ClusterService clusterService, ThreadPool threadPool, RestoreService restoreService, ActionFilters actionFilters)
protected String executor()
executor in class TransportMasterNodeOperationAction<RestoreSnapshotRequest,RestoreSnapshotResponse>protected RestoreSnapshotRequest newRequest()
newRequest in class TransportMasterNodeOperationAction<RestoreSnapshotRequest,RestoreSnapshotResponse>protected RestoreSnapshotResponse newResponse()
newResponse in class TransportMasterNodeOperationAction<RestoreSnapshotRequest,RestoreSnapshotResponse>protected ClusterBlockException checkBlock(RestoreSnapshotRequest request, ClusterState state)
checkBlock in class TransportMasterNodeOperationAction<RestoreSnapshotRequest,RestoreSnapshotResponse>protected void masterOperation(RestoreSnapshotRequest request, ClusterState state, ActionListener<RestoreSnapshotResponse> listener) throws ElasticsearchException
masterOperation in class TransportMasterNodeOperationAction<RestoreSnapshotRequest,RestoreSnapshotResponse>ElasticsearchExceptionCopyright © 2009–2016. All rights reserved.