Decision function ( Decision arg0 , String arg1 , String arg2 , Object ... arg3 ) { if ( debugDecision ( ) ) { return Decision . single ( arg0 . type ( ) , arg1 , arg2 , arg3 ) ; } else { return arg0 ; } }
create a routing decision , including the reason if the debug flag is turned on concode_field_sep boolean retryFailed concode_elem_sep boolean debugDecision concode_elem_sep RoutingNodes routingNodes concode_elem_sep MetaData metaData concode_elem_sep long currentNanoTime concode_elem_sep DiscoveryNodes nodes concode_elem_sep Map<ShardId,Set<String>> ignoredShardToNodes concode_elem_sep AllocationExplanation explanation concode_elem_sep boolean ignoreDisable concode_elem_sep AllocationDeciders deciders concode_elem_sep ImmutableOpenMap<String,ClusterState.Custom> customs concode_elem_sep ClusterInfo clusterInfo concode_elem_sep boolean hasPendingAsyncFetch concode_elem_sep RoutingTable routingTable concode_elem_sep RoutingExplanations explanations concode_elem_sep boolean changed concode_field_sep void addIgnoreShardForNode concode_elem_sep boolean isRetryFailed concode_elem_sep Decision decision concode_elem_sep boolean shouldIgnoreShardForNode concode_elem_sep T custom concode_elem_sep RoutingNodes routingNodes concode_elem_sep boolean hasPendingAsyncFetch concode_elem_sep AllocationExplanation explanation concode_elem_sep void ignoreDisable concode_elem_sep boolean ignoreDisable concode_elem_sep void setHasPendingAsyncFetch concode_elem_sep long getCurrentNanoTime concode_elem_sep Set<String> getIgnoreNodes concode_elem_sep MetaData metaData concode_elem_sep MetaData metaData concode_elem_sep void debugDecision concode_elem_sep boolean debugDecision concode_elem_sep DiscoveryNodes nodes concode_elem_sep AllocationDeciders deciders concode_elem_sep ClusterInfo clusterInfo concode_elem_sep RoutingTable routingTable concode_elem_sep RoutingTable routingTable concode_elem_sep RoutingExplanations explanations concode_elem_sep boolean changed