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, executor, indexNameExpressionResolver, threadPool, transportService
Fields inherited from class org.elasticsearch.action.support.TransportAction
actionName, localConnection, taskManager
-
Constructor Summary
Constructors Constructor Description TransportSnapshotsStatusAction(TransportService transportService, ClusterService clusterService, ThreadPool threadPool, RepositoriesService repositoriesService, TransportNodesSnapshotsStatus transportNodesSnapshotsStatus, ActionFilters actionFilters, IndexNameExpressionResolver indexNameExpressionResolver)
-
Method Summary
Modifier and Type Method Description protected ClusterBlockException
checkBlock(SnapshotsStatusRequest request, ClusterState state)
protected void
masterOperation(SnapshotsStatusRequest request, ClusterState state, ActionListener<SnapshotsStatusResponse> listener)
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
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
TransportSnapshotsStatusAction
@Inject public TransportSnapshotsStatusAction(TransportService transportService, ClusterService clusterService, ThreadPool threadPool, RepositoriesService repositoriesService, TransportNodesSnapshotsStatus transportNodesSnapshotsStatus, ActionFilters actionFilters, IndexNameExpressionResolver indexNameExpressionResolver)
-
-
Method Details
-
checkBlock
- Specified by:
checkBlock
in classTransportMasterNodeAction<SnapshotsStatusRequest,SnapshotsStatusResponse>
-
masterOperation
protected void masterOperation(SnapshotsStatusRequest request, ClusterState state, ActionListener<SnapshotsStatusResponse> listener) throws java.lang.Exception- Specified by:
masterOperation
in classTransportMasterNodeAction<SnapshotsStatusRequest,SnapshotsStatusResponse>
- Throws:
java.lang.Exception
-