Class TransportSnapshotsStatusAction
- java.lang.Object
-
- org.elasticsearch.action.support.TransportAction<Request,Response>
-
- org.elasticsearch.action.support.HandledTransportAction<Request,Response>
-
- org.elasticsearch.action.support.master.TransportMasterNodeAction<SnapshotsStatusRequest,SnapshotsStatusResponse>
-
- org.elasticsearch.action.admin.cluster.snapshots.status.TransportSnapshotsStatusAction
-
public class TransportSnapshotsStatusAction extends TransportMasterNodeAction<SnapshotsStatusRequest,SnapshotsStatusResponse>
-
-
Field Summary
-
Fields inherited from class org.elasticsearch.action.support.master.TransportMasterNodeAction
clusterService, indexNameExpressionResolver, threadPool, transportService
-
Fields inherited from class org.elasticsearch.action.support.TransportAction
actionName, taskManager
-
-
Constructor Summary
Constructors Constructor Description TransportSnapshotsStatusAction(TransportService transportService, ClusterService clusterService, ThreadPool threadPool, SnapshotsService snapshotsService, TransportNodesSnapshotsStatus transportNodesSnapshotsStatus, ActionFilters actionFilters, IndexNameExpressionResolver indexNameExpressionResolver)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected ClusterBlockExceptioncheckBlock(SnapshotsStatusRequest request, ClusterState state)protected Stringexecutor()protected voidmasterOperation(SnapshotsStatusRequest request, ClusterState state, ActionListener<SnapshotsStatusResponse> listener)protected SnapshotsStatusResponseread(StreamInput in)-
Methods inherited from class org.elasticsearch.action.support.master.TransportMasterNodeAction
doExecute, getMasterActionName, localExecute, masterOperation
-
Methods inherited from class org.elasticsearch.action.support.TransportAction
execute, execute, execute
-
-
-
-
Constructor Detail
-
TransportSnapshotsStatusAction
@Inject public TransportSnapshotsStatusAction(TransportService transportService, ClusterService clusterService, ThreadPool threadPool, SnapshotsService snapshotsService, TransportNodesSnapshotsStatus transportNodesSnapshotsStatus, ActionFilters actionFilters, IndexNameExpressionResolver indexNameExpressionResolver)
-
-
Method Detail
-
executor
protected String executor()
- Specified by:
executorin classTransportMasterNodeAction<SnapshotsStatusRequest,SnapshotsStatusResponse>
-
checkBlock
protected ClusterBlockException checkBlock(SnapshotsStatusRequest request, ClusterState state)
- Specified by:
checkBlockin classTransportMasterNodeAction<SnapshotsStatusRequest,SnapshotsStatusResponse>
-
read
protected SnapshotsStatusResponse read(StreamInput in) throws IOException
- Specified by:
readin classTransportMasterNodeAction<SnapshotsStatusRequest,SnapshotsStatusResponse>- Throws:
IOException
-
masterOperation
protected void masterOperation(SnapshotsStatusRequest request, ClusterState state, ActionListener<SnapshotsStatusResponse> listener) throws Exception
- Specified by:
masterOperationin classTransportMasterNodeAction<SnapshotsStatusRequest,SnapshotsStatusResponse>- Throws:
Exception
-
-