Class AssignmentDecision
- java.lang.Object
-
- org.elasticsearch.persistent.decider.AssignmentDecision
-
public final class AssignmentDecision extends Object
AssignmentDecisionrepresents 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, String reason)
-
-
-
Field Detail
-
YES
public static final AssignmentDecision YES
-
-
Constructor Detail
-
AssignmentDecision
public AssignmentDecision(AssignmentDecision.Type type, String reason)
-
-
Method Detail
-
getType
public AssignmentDecision.Type getType()
-
getReason
public String getReason()
-
-