public class TransportRestoreSnapshotAction extends TransportMasterNodeOperationAction<RestoreSnapshotRequest,RestoreSnapshotResponse>
clusterService, transportService
actionName, threadPool
componentSettings, 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, processBeforeDelegationToMaster
execute, execute
nodeName
@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>
ElasticsearchException
Copyright © 2009–2015. All rights reserved.