public class TransportRestoreSnapshotAction extends TransportMasterNodeAction<RestoreSnapshotRequest,RestoreSnapshotResponse>
deprecationLogger, logger, settings
actionName, indexNameExpressionResolver, taskManager, threadPool
clusterService, transportService
Constructor | Description |
---|---|
TransportRestoreSnapshotAction(Settings settings,
TransportService transportService,
ClusterService clusterService,
ThreadPool threadPool,
RestoreService restoreService,
ActionFilters actionFilters,
IndexNameExpressionResolver indexNameExpressionResolver) |
Modifier and Type | Method | Description |
---|---|---|
protected ClusterBlockException |
checkBlock(RestoreSnapshotRequest request,
ClusterState state) |
|
protected java.lang.String |
executor() |
|
protected void |
masterOperation(RestoreSnapshotRequest request,
ClusterState state,
ActionListener<RestoreSnapshotResponse> listener) |
|
protected RestoreSnapshotResponse |
newResponse() |
logDeprecatedSetting, logRemovedSetting, nodeName
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
execute, execute, execute, execute
doExecute, doExecute, getMasterActionName, localExecute, masterOperation
@Inject public TransportRestoreSnapshotAction(Settings settings, TransportService transportService, ClusterService clusterService, ThreadPool threadPool, RestoreService restoreService, ActionFilters actionFilters, IndexNameExpressionResolver indexNameExpressionResolver)
protected java.lang.String executor()
executor
in class TransportMasterNodeAction<RestoreSnapshotRequest,RestoreSnapshotResponse>
protected RestoreSnapshotResponse newResponse()
newResponse
in class TransportMasterNodeAction<RestoreSnapshotRequest,RestoreSnapshotResponse>
protected ClusterBlockException checkBlock(RestoreSnapshotRequest request, ClusterState state)
checkBlock
in class TransportMasterNodeAction<RestoreSnapshotRequest,RestoreSnapshotResponse>
protected void masterOperation(RestoreSnapshotRequest request, ClusterState state, ActionListener<RestoreSnapshotResponse> listener)
masterOperation
in class TransportMasterNodeAction<RestoreSnapshotRequest,RestoreSnapshotResponse>