Module org.elasticsearch.server
Package org.elasticsearch.indices.store
Class TransportNodesListShardStoreMetadata
java.lang.Object
org.elasticsearch.action.support.TransportAction<NodesRequest,NodesResponse>
org.elasticsearch.action.support.nodes.TransportNodesAction<TransportNodesListShardStoreMetadata.Request,TransportNodesListShardStoreMetadata.NodesStoreFilesMetadata,TransportNodesListShardStoreMetadata.NodeRequest,TransportNodesListShardStoreMetadata.NodeStoreFilesMetadata>
org.elasticsearch.indices.store.TransportNodesListShardStoreMetadata
public class TransportNodesListShardStoreMetadata
extends TransportNodesAction<TransportNodesListShardStoreMetadata.Request,TransportNodesListShardStoreMetadata.NodesStoreFilesMetadata,TransportNodesListShardStoreMetadata.NodeRequest,TransportNodesListShardStoreMetadata.NodeStoreFilesMetadata>
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class
static class
static class
static class
static final record
-
Field Summary
FieldsFields inherited from class org.elasticsearch.action.support.nodes.TransportNodesAction
clusterService, transportNodeAction, transportService
Fields inherited from class org.elasticsearch.action.support.TransportAction
actionName, taskManager
-
Constructor Summary
ConstructorsConstructorDescriptionTransportNodesListShardStoreMetadata
(Settings settings, ThreadPool threadPool, ClusterService clusterService, TransportService transportService, IndicesService indicesService, NodeEnvironment nodeEnv, ActionFilters actionFilters) -
Method Summary
Modifier and TypeMethodDescriptionnewNodeResponse
(StreamInput in, DiscoveryNode node) newResponse
(TransportNodesListShardStoreMetadata.Request request, List<TransportNodesListShardStoreMetadata.NodeStoreFilesMetadata> responses, List<FailedNodeException> failures) Create a newTransportNodesAction
.nodeOperation
(TransportNodesListShardStoreMetadata.NodeRequest request, Task task) Methods inherited from class org.elasticsearch.action.support.nodes.TransportNodesAction
doExecute, newResponseAsync, resolveRequest
Methods inherited from class org.elasticsearch.action.support.TransportAction
execute, localOnly
-
Field Details
-
ACTION_NAME
- See Also:
-
TYPE
-
-
Constructor Details
-
TransportNodesListShardStoreMetadata
@Inject public TransportNodesListShardStoreMetadata(Settings settings, ThreadPool threadPool, ClusterService clusterService, TransportService transportService, IndicesService indicesService, NodeEnvironment nodeEnv, ActionFilters actionFilters)
-
-
Method Details
-
newNodeRequest
protected TransportNodesListShardStoreMetadata.NodeRequest newNodeRequest(TransportNodesListShardStoreMetadata.Request request) -
newNodeResponse
protected TransportNodesListShardStoreMetadata.NodeStoreFilesMetadata newNodeResponse(StreamInput in, DiscoveryNode node) throws IOException -
newResponse
protected TransportNodesListShardStoreMetadata.NodesStoreFilesMetadata newResponse(TransportNodesListShardStoreMetadata.Request request, List<TransportNodesListShardStoreMetadata.NodeStoreFilesMetadata> responses, List<FailedNodeException> failures) Description copied from class:TransportNodesAction
Create a newTransportNodesAction
. This method is executed onTransportNodesAction.finalExecutor
.- Specified by:
newResponse
in classTransportNodesAction<TransportNodesListShardStoreMetadata.Request,
TransportNodesListShardStoreMetadata.NodesStoreFilesMetadata, TransportNodesListShardStoreMetadata.NodeRequest, TransportNodesListShardStoreMetadata.NodeStoreFilesMetadata> - Parameters:
request
- The request whose response we are constructing.TransportNodesAction
may have already released all its references to this object before calling this method, so it's up to individual implementations to retain their own reference to the request if still needed here.responses
- All successful node-level responses.failures
- All node-level failures.- Returns:
- Never
null
.
-
nodeOperation
protected TransportNodesListShardStoreMetadata.NodeStoreFilesMetadata nodeOperation(TransportNodesListShardStoreMetadata.NodeRequest request, Task task)
-