AllocateUnassignedDecision function ( @ Nullable String arg0 , @ Nullable Map < String , Decision > arg1 ) { if ( arg0 != null ) { return new AllocateUnassignedDecision ( Type . THROTTLE , AllocationStatus . DECIDERS_THROTTLED , arg0 , null , null , asExplanations ( arg1 ) , null ) ; } else { return getCachedDecision ( AllocationStatus . DECIDERS_THROTTLED ) ; } }
returns a throttle decision , with the given explanation and individual node-level decisions that comprised the final throttle decision if in explain mode . concode_field_sep String finalExplanation concode_elem_sep String assignedNodeId concode_elem_sep Map<String,NodeAllocationResult> nodeDecisions concode_elem_sep Type finalDecision concode_elem_sep Map<AllocationStatus,AllocateUnassignedDecision> CACHED_DECISIONS concode_elem_sep String allocationId concode_elem_sep Decision shardDecision concode_elem_sep AllocateUnassignedDecision NOT_TAKEN concode_elem_sep AllocationStatus allocationStatus concode_field_sep AllocateUnassignedDecision no concode_elem_sep AllocateUnassignedDecision no concode_elem_sep AllocateUnassignedDecision no concode_elem_sep String getFinalExplanation concode_elem_sep boolean isDecisionTaken concode_elem_sep AllocateUnassignedDecision yes concode_elem_sep AllocateUnassignedDecision fromDecision concode_elem_sep AllocationStatus getAllocationStatus concode_elem_sep Type getFinalDecisionSafe concode_elem_sep AllocateUnassignedDecision getCachedDecision concode_elem_sep Type getFinalDecisionType concode_elem_sep Decision getShardDecision concode_elem_sep String getAllocationId concode_elem_sep String getAssignedNodeId concode_elem_sep Map<String,NodeAllocationResult> asExplanations concode_elem_sep Map<String,NodeAllocationResult> getNodeDecisions