Add basic javadocs to TransportNodesListGatewayStartedShards

This commit is contained in:
Simon Willnauer 2015-05-22 21:14:45 +02:00
parent f47d993715
commit d33f0e2527

View File

@ -46,7 +46,9 @@ import java.util.List;
import java.util.concurrent.atomic.AtomicReferenceArray;
/**
*
* This transport action is used to fetch the shard version from each node during primary allocation in {@link GatewayAllocator}.
* We use this to find out which node holds the latest shard version and which of them used to be a primary in order to allocate
* shards after node or cluster restarts.
*/
public class TransportNodesListGatewayStartedShards extends TransportNodesOperationAction<TransportNodesListGatewayStartedShards.Request, TransportNodesListGatewayStartedShards.NodesGatewayStartedShards, TransportNodesListGatewayStartedShards.NodeRequest, TransportNodesListGatewayStartedShards.NodeGatewayStartedShards>
implements AsyncShardFetch.List<TransportNodesListGatewayStartedShards.NodesGatewayStartedShards, TransportNodesListGatewayStartedShards.NodeGatewayStartedShards> {