Package org.elasticsearch.indices.store
Class TransportNodesListShardStoreMetadata
java.lang.Object
org.elasticsearch.action.support.TransportAction<Request,Response>
org.elasticsearch.action.support.HandledTransportAction<NodesRequest,NodesResponse>
org.elasticsearch.action.support.nodes.TransportNodesAction<TransportNodesListShardStoreMetadata.Request,TransportNodesListShardStoreMetadata.NodesStoreFilesMetadata,TransportNodesListShardStoreMetadata.NodeRequest,TransportNodesListShardStoreMetadata.NodeStoreFilesMetadata>
org.elasticsearch.indices.store.TransportNodesListShardStoreMetadata
- All Implemented Interfaces:
AsyncShardFetch.Lister<TransportNodesListShardStoreMetadata.NodesStoreFilesMetadata,TransportNodesListShardStoreMetadata.NodeStoreFilesMetadata>
public class TransportNodesListShardStoreMetadata
extends TransportNodesAction<TransportNodesListShardStoreMetadata.Request,TransportNodesListShardStoreMetadata.NodesStoreFilesMetadata,TransportNodesListShardStoreMetadata.NodeRequest,TransportNodesListShardStoreMetadata.NodeStoreFilesMetadata>
implements AsyncShardFetch.Lister<TransportNodesListShardStoreMetadata.NodesStoreFilesMetadata,TransportNodesListShardStoreMetadata.NodeStoreFilesMetadata>
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classstatic classstatic classstatic classstatic class -
Field Summary
FieldsFields inherited from class org.elasticsearch.action.support.nodes.TransportNodesAction
clusterService, nodeResponseClass, threadPool, transportNodeAction, transportServiceFields inherited from class org.elasticsearch.action.support.TransportAction
actionName, localConnection, logger, taskManager -
Constructor Summary
ConstructorsConstructorDescriptionTransportNodesListShardStoreMetadata(Settings settings, ThreadPool threadPool, ClusterService clusterService, TransportService transportService, IndicesService indicesService, NodeEnvironment nodeEnv, ActionFilters actionFilters) -
Method Summary
Modifier and TypeMethodDescriptionvoidlist(ShardId shardId, String customDataPath, DiscoveryNode[] nodes, ActionListener<TransportNodesListShardStoreMetadata.NodesStoreFilesMetadata> listener)newResponse(TransportNodesListShardStoreMetadata.Request request, List<TransportNodesListShardStoreMetadata.NodeStoreFilesMetadata> responses, List<FailedNodeException> failures)Create a newTransportNodesAction(multi-node response).Methods inherited from class org.elasticsearch.action.support.nodes.TransportNodesAction
doExecute, getTransportNodeAction, newResponseAsync, nodeOperation, resolveRequestMethods inherited from class org.elasticsearch.action.support.TransportAction
execute, execute, execute
-
Field Details
-
ACTION_NAME
- See Also:
- Constant Field Values
-
TYPE
-
-
Constructor Details
-
TransportNodesListShardStoreMetadata
@Inject public TransportNodesListShardStoreMetadata(Settings settings, ThreadPool threadPool, ClusterService clusterService, TransportService transportService, IndicesService indicesService, NodeEnvironment nodeEnv, ActionFilters actionFilters)
-
-
Method Details
-
list
public void list(ShardId shardId, String customDataPath, DiscoveryNode[] nodes, ActionListener<TransportNodesListShardStoreMetadata.NodesStoreFilesMetadata> listener) -
newNodeRequest
protected TransportNodesListShardStoreMetadata.NodeRequest newNodeRequest(TransportNodesListShardStoreMetadata.Request request) -
newNodeResponse
protected TransportNodesListShardStoreMetadata.NodeStoreFilesMetadata newNodeResponse(StreamInput in) throws IOException -
newResponse
protected TransportNodesListShardStoreMetadata.NodesStoreFilesMetadata newResponse(TransportNodesListShardStoreMetadata.Request request, List<TransportNodesListShardStoreMetadata.NodeStoreFilesMetadata> responses, List<FailedNodeException> failures)Description copied from class:TransportNodesActionCreate a newTransportNodesAction(multi-node response).- Specified by:
newResponsein classTransportNodesAction<TransportNodesListShardStoreMetadata.Request,TransportNodesListShardStoreMetadata.NodesStoreFilesMetadata,TransportNodesListShardStoreMetadata.NodeRequest,TransportNodesListShardStoreMetadata.NodeStoreFilesMetadata>- Parameters:
request- The associated request.responses- All successful node-level responses.failures- All node-level failures.- Returns:
- Never
null.
-
nodeOperation
protected TransportNodesListShardStoreMetadata.NodeStoreFilesMetadata nodeOperation(TransportNodesListShardStoreMetadata.NodeRequest request)
-