void addBlockToBeReplicated ( Block block , DatanodeDescriptor [ ] targets ) { assert ( block != null && targets != null && targets . length > 0 ) ; replicateBlocks . offer ( block , targets ) ; }
Store block replication work .