ReplicaInfo function ( String arg0 , Block arg1 ) { checkBlockPool ( arg0 ) ; checkBlock ( arg1 ) ; ReplicaInfo loc0 = get ( arg0 , arg1 . getBlockId ( ) ) ; if ( loc0 != null && arg1 . getGenerationStamp ( ) == loc0 . getGenerationStamp ( ) ) { return loc0 ; } return null ; }
get the meta information of the replica that matches both block id and generation stamp concode_field_sep Map<String,Map<Long,ReplicaInfo>> map concode_elem_sep Object mutex concode_field_sep ReplicaInfo add concode_elem_sep void initBlockPool concode_elem_sep void cleanUpBlockPool concode_elem_sep int size concode_elem_sep void addAll concode_elem_sep Object getMutext concode_elem_sep Collection<ReplicaInfo> replicas concode_elem_sep String[] getBlockPoolList concode_elem_sep void checkBlockPool concode_elem_sep void checkBlock concode_elem_sep ReplicaInfo remove concode_elem_sep ReplicaInfo remove