BlockInfo [ ] function ( ) { synchronized ( timedOutItems ) { if ( timedOutItems . size ( ) <= 0 ) { return null ; } BlockInfo [ ] loc0 = timedOutItems . toArray ( new BlockInfo [ timedOutItems . size ( ) ] ) ; timedOutItems . clear ( ) ; return loc0 ; } }
returns a list of blocks that have timed out their reconstruction requests . returns null if no blocks have timed out . concode_field_sep Map<BlockInfo,PendingBlockInfo> pendingReconstructions concode_elem_sep long timeout concode_elem_sep long timeStamp concode_elem_sep Daemon timerThread concode_elem_sep boolean fsRunning concode_elem_sep long DEFAULT_RECHECK_INTERVAL concode_elem_sep ArrayList<BlockInfo> timedOutItems concode_elem_sep List<DatanodeDescriptor> targets concode_elem_sep Logger LOG concode_field_sep void incrementReplicas concode_elem_sep void metaSave concode_elem_sep void start concode_elem_sep void clear concode_elem_sep void increment concode_elem_sep void run concode_elem_sep void pendingReconstructionCheck concode_elem_sep int getNumReplicas concode_elem_sep int getNumReplicas concode_elem_sep void remove concode_elem_sep long getTimeStamp concode_elem_sep void setTimeStamp concode_elem_sep void decrementReplicas concode_elem_sep int size concode_elem_sep void stop concode_elem_sep void decrement