Class AssignmentDecision
java.lang.Object
org.elasticsearch.persistent.decider.AssignmentDecision
public final class AssignmentDecision
extends java.lang.Object
AssignmentDecision represents the decision made during the process of
assigning a persistent task to a node of the cluster.- See Also:
EnableAssignmentDecider
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classAssignmentDecision.Type -
Field Summary
Fields Modifier and Type Field Description static AssignmentDecisionYES -
Constructor Summary
Constructors Constructor Description AssignmentDecision(AssignmentDecision.Type type, java.lang.String reason) -
Method Summary
Modifier and Type Method Description java.lang.StringgetReason()AssignmentDecision.TypegetType()java.lang.StringtoString()