DiscoveryNode function ( ) { checkDecisionState ( ) ; return targetNode ; }
get the node that the allocator will assign the shard to , returning null if there is no node towhich the shard will be assigned or moved . if #isdecisiontaken returns false , then invoking this method will throw an illegalstateexception . concode_field_sep List<NodeAllocationResult> nodeDecisions concode_elem_sep DiscoveryNode targetNode concode_field_sep void writeTo concode_elem_sep XContentBuilder nodeDecisionsToXContent concode_elem_sep List<NodeAllocationResult> sortNodeDecisions concode_elem_sep boolean isDecisionTaken concode_elem_sep boolean atLeastOneNodeWithYesDecision concode_elem_sep int hashCode concode_elem_sep boolean equals concode_elem_sep void checkDecisionState concode_elem_sep List<NodeAllocationResult> getNodeDecisions concode_elem_sep String getExplanation concode_elem_sep XContentBuilder discoveryNodeToXContent