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 class
AssignmentDecision.Type
-
Field Summary
Fields Modifier and Type Field Description static AssignmentDecision
YES
-
Constructor Summary
Constructors Constructor Description AssignmentDecision(AssignmentDecision.Type type, java.lang.String reason)
-
Method Summary
Modifier and Type Method Description java.lang.String
getReason()
AssignmentDecision.Type
getType()
java.lang.String
toString()