/** * @return computed block replication and block invalidation work that can be scheduled on * data-nodes. * @throws IOException */ public static int getComputedDatanodeWork(final BlockManager blockManager) throws IOException { return blockManager.computeDatanodeWork(); }