DiscoveryNode function ( ) { return currentNode ; }
returns the currently assigned node , or null if the shard is unassigned . concode_field_sep ShardRouting shardRouting concode_elem_sep ShardAllocationDecision shardAllocationDecision concode_elem_sep DiscoveryNode currentNode concode_elem_sep ClusterInfo clusterInfo concode_elem_sep DiscoveryNode relocationTargetNode concode_field_sep void writeTo concode_elem_sep ClusterInfo getClusterInfo concode_elem_sep boolean isPrimary concode_elem_sep XContentBuilder toXContent concode_elem_sep ShardRoutingState getShardState concode_elem_sep XContentBuilder unassignedInfoToXContent concode_elem_sep ShardId getShard concode_elem_sep UnassignedInfo getUnassignedInfo concode_elem_sep DiscoveryNode getRelocationTargetNode concode_elem_sep ShardAllocationDecision getShardAllocationDecision