Class TransportNodesSnapshotsStatus
java.lang.Object
org.elasticsearch.action.support.TransportAction<Request,Response>
org.elasticsearch.action.support.HandledTransportAction<NodesRequest,NodesResponse>
org.elasticsearch.action.support.nodes.TransportNodesAction<TransportNodesSnapshotsStatus.Request,TransportNodesSnapshotsStatus.NodesSnapshotStatus,TransportNodesSnapshotsStatus.NodeRequest,TransportNodesSnapshotsStatus.NodeSnapshotStatus>
org.elasticsearch.action.admin.cluster.snapshots.status.TransportNodesSnapshotsStatus
public class TransportNodesSnapshotsStatus
extends TransportNodesAction<TransportNodesSnapshotsStatus.Request,TransportNodesSnapshotsStatus.NodesSnapshotStatus,TransportNodesSnapshotsStatus.NodeRequest,TransportNodesSnapshotsStatus.NodeSnapshotStatus>
Transport client that collects snapshot shard statuses from data nodes
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
static class
static class
static class
-
Field Summary
Fields inherited from class org.elasticsearch.action.support.nodes.TransportNodesAction
clusterService, nodeResponseClass, threadPool, transportNodeAction, transportService
Fields inherited from class org.elasticsearch.action.support.TransportAction
actionName, localConnection, logger, taskManager
-
Constructor Summary
ConstructorDescriptionTransportNodesSnapshotsStatus(ThreadPool threadPool, ClusterService clusterService, TransportService transportService, SnapshotShardsService snapshotShardsService, ActionFilters actionFilters)
-
Method Summary
Modifier and TypeMethodDescriptionnewResponse(TransportNodesSnapshotsStatus.Request request, List<TransportNodesSnapshotsStatus.NodeSnapshotStatus> responses, List<FailedNodeException> failures)
Create a newTransportNodesAction
(multi-node response).Methods inherited from class org.elasticsearch.action.support.nodes.TransportNodesAction
doExecute, getTransportNodeAction, newResponseAsync, nodeOperation, resolveRequest
Methods inherited from class org.elasticsearch.action.support.TransportAction
execute, execute, execute
-
Field Details
-
ACTION_NAME
- See Also:
- Constant Field Values
-
TYPE
-
-
Constructor Details
-
TransportNodesSnapshotsStatus
public TransportNodesSnapshotsStatus(ThreadPool threadPool, ClusterService clusterService, TransportService transportService, SnapshotShardsService snapshotShardsService, ActionFilters actionFilters)
-
-
Method Details
-
newNodeRequest
protected TransportNodesSnapshotsStatus.NodeRequest newNodeRequest(TransportNodesSnapshotsStatus.Request request) -
newNodeResponse
protected TransportNodesSnapshotsStatus.NodeSnapshotStatus newNodeResponse(StreamInput in) throws IOException -
newResponse
protected TransportNodesSnapshotsStatus.NodesSnapshotStatus newResponse(TransportNodesSnapshotsStatus.Request request, List<TransportNodesSnapshotsStatus.NodeSnapshotStatus> responses, List<FailedNodeException> failures)Description copied from class:TransportNodesAction
Create a newTransportNodesAction
(multi-node response).- Specified by:
newResponse
in classTransportNodesAction<TransportNodesSnapshotsStatus.Request,TransportNodesSnapshotsStatus.NodesSnapshotStatus,TransportNodesSnapshotsStatus.NodeRequest,TransportNodesSnapshotsStatus.NodeSnapshotStatus>
- Parameters:
request
- The associated request.responses
- All successful node-level responses.failures
- All node-level failures.- Returns:
- Never
null
.
-
nodeOperation
protected TransportNodesSnapshotsStatus.NodeSnapshotStatus nodeOperation(TransportNodesSnapshotsStatus.NodeRequest request)
-