Class TransportGetSnapshotsAction
java.lang.Object
org.elasticsearch.action.support.TransportAction<Request,Response>
org.elasticsearch.action.support.HandledTransportAction<Request,Response>
org.elasticsearch.action.support.master.TransportMasterNodeAction<GetSnapshotsRequest,GetSnapshotsResponse>
org.elasticsearch.action.admin.cluster.snapshots.get.TransportGetSnapshotsAction
public class TransportGetSnapshotsAction extends TransportMasterNodeAction<GetSnapshotsRequest,GetSnapshotsResponse>
Transport Action for get snapshots operation
-
Field Summary
Fields inherited from class org.elasticsearch.action.support.master.TransportMasterNodeAction
clusterService, indexNameExpressionResolver, threadPool, transportServiceFields inherited from class org.elasticsearch.action.support.TransportAction
actionName, taskManager -
Constructor Summary
Constructors Constructor Description TransportGetSnapshotsAction(TransportService transportService, ClusterService clusterService, ThreadPool threadPool, SnapshotsService snapshotsService, ActionFilters actionFilters, IndexNameExpressionResolver indexNameExpressionResolver) -
Method Summary
Modifier and Type Method Description protected ClusterBlockExceptioncheckBlock(GetSnapshotsRequest request, ClusterState state)protected java.lang.Stringexecutor()protected voidmasterOperation(GetSnapshotsRequest request, ClusterState state, ActionListener<GetSnapshotsResponse> listener)protected GetSnapshotsResponseread(StreamInput in)Methods inherited from class org.elasticsearch.action.support.master.TransportMasterNodeAction
doExecute, getMasterActionName, localExecute, masterOperationMethods inherited from class org.elasticsearch.action.support.TransportAction
execute, execute, execute
-
Constructor Details
-
TransportGetSnapshotsAction
@Inject public TransportGetSnapshotsAction(TransportService transportService, ClusterService clusterService, ThreadPool threadPool, SnapshotsService snapshotsService, ActionFilters actionFilters, IndexNameExpressionResolver indexNameExpressionResolver)
-
-
Method Details
-
executor
protected java.lang.String executor()- Specified by:
executorin classTransportMasterNodeAction<GetSnapshotsRequest,GetSnapshotsResponse>
-
read
- Specified by:
readin classTransportMasterNodeAction<GetSnapshotsRequest,GetSnapshotsResponse>- Throws:
java.io.IOException
-
checkBlock
- Specified by:
checkBlockin classTransportMasterNodeAction<GetSnapshotsRequest,GetSnapshotsResponse>
-
masterOperation
protected void masterOperation(GetSnapshotsRequest request, ClusterState state, ActionListener<GetSnapshotsResponse> listener)- Specified by:
masterOperationin classTransportMasterNodeAction<GetSnapshotsRequest,GetSnapshotsResponse>
-