Skip to content

Commit

Permalink
Add javadocs
Browse files Browse the repository at this point in the history
Signed-off-by: Arpit Bandejiya <[email protected]>
  • Loading branch information
Arpit-Bandejiya committed Mar 26, 2024
1 parent 37f523f commit 1402c52
Showing 1 changed file with 7 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,18 @@

package org.opensearch.cluster.routing.allocation.allocator;

import org.opensearch.cluster.routing.RoutingNode;
import org.opensearch.cluster.routing.allocation.decider.Decision;
import org.opensearch.common.Randomness;

import java.util.List;

/**
* The MinWeightedNodeDecision is used to store the minWeighted nodes for taking allocation decision in
* {@link LocalShardsBalancer}
*
* @opensearch.internal
*/
public class MinWeightedNodeDecision {
private float minWeight;
private Decision decision;
Expand Down

0 comments on commit 1402c52

Please sign in to comment.