Uses of Class
org.elasticsearch.cluster.routing.allocation.MoveDecision
-
Packages that use MoveDecision Package Description org.elasticsearch.cluster.routing.allocation org.elasticsearch.cluster.routing.allocation.allocator -
-
Uses of MoveDecision in org.elasticsearch.cluster.routing.allocation
Fields in org.elasticsearch.cluster.routing.allocation declared as MoveDecision Modifier and Type Field Description static MoveDecisionMoveDecision. NOT_TAKENa constant representing no decision takenMethods in org.elasticsearch.cluster.routing.allocation that return MoveDecision Modifier and Type Method Description static MoveDecisionMoveDecision. cannotRebalance(Decision canRebalanceDecision, AllocationDecision allocationDecision, int currentNodeRanking, List<NodeAllocationResult> nodeDecisions)Creates a move decision for when rebalancing the shard is not allowed.static MoveDecisionMoveDecision. cannotRemain(Decision canRemainDecision, AllocationDecision allocationDecision, DiscoveryNode assignedNode, List<NodeAllocationResult> nodeDecisions)Creates a move decision for the shard not being allowed to remain on its current node.MoveDecisionShardAllocationDecision. getMoveDecision()Gets the move decision for the shard.static MoveDecisionMoveDecision. rebalance(Decision canRebalanceDecision, AllocationDecision allocationDecision, DiscoveryNode assignedNode, int currentNodeRanking, List<NodeAllocationResult> nodeDecisions)Creates a decision for whether to move the shard to a different node to form a better cluster balance.static MoveDecisionMoveDecision. stay(Decision canRemainDecision)Creates a move decision for the shard being able to remain on its current node, so the shard won't be forced to move to another node.MoveDecisionMoveDecision. withRemainDecision(Decision canRemainDecision)Creates a new move decision from this decision, plus adding a remain decision.Constructors in org.elasticsearch.cluster.routing.allocation with parameters of type MoveDecision Constructor Description ShardAllocationDecision(AllocateUnassignedDecision allocateDecision, MoveDecision moveDecision) -
Uses of MoveDecision in org.elasticsearch.cluster.routing.allocation.allocator
Methods in org.elasticsearch.cluster.routing.allocation.allocator that return MoveDecision Modifier and Type Method Description MoveDecisionBalancedShardsAllocator.Balancer. decideMove(ShardRouting shardRouting)Makes a decision on whether to move a started shard to another node.
-