int function ( ) { int loc0 = 0 ; for ( ShardRouting loc1 : this ) { if ( loc1 . state ( ) != ShardRoutingState . RELOCATING ) { loc0 ++ ; } } return loc0 ; }
the number of shards on this node that will not be eventually relocated . concode_field_sep DiscoveryNode node concode_elem_sep LinkedHashMap<ShardId,ShardRouting> shards concode_elem_sep String nodeId concode_field_sep void add concode_elem_sep String prettyPrint concode_elem_sep boolean isEmpty concode_elem_sep void update concode_elem_sep int numberOfShardsWithState concode_elem_sep void remove concode_elem_sep DiscoveryNode node concode_elem_sep Iterator<ShardRouting> iterator concode_elem_sep int size concode_elem_sep List<ShardRouting> copyShards concode_elem_sep List<ShardRouting> shardsWithState concode_elem_sep List<ShardRouting> shardsWithState concode_elem_sep String toString concode_elem_sep ShardRouting getByShardId concode_elem_sep LinkedHashMap<ShardId,ShardRouting> buildShardRoutingMap concode_elem_sep String nodeId