@Test public void size() { ProcessingManager mgr = new ProcessingManager(); long size = mgr.size(sample); Assert.assertEquals(size, SIZE); }
long size (File file) { try { return drb_size(file); } catch (Exception e) { LOGGER.warn ("Cannot compute size via Drb API, using system API(" + e.getMessage() + ")."); return system_size(file); } }
ProcessingManager { long size (File file) { try { return drb_size(file); } catch (Exception e) { LOGGER.warn ("Cannot compute size via Drb API, using system API(" + e.getMessage() + ")."); return system_size(file); } } }
ProcessingManager { long size (File file) { try { return drb_size(file); } catch (Exception e) { LOGGER.warn ("Cannot compute size via Drb API, using system API(" + e.getMessage() + ")."); return system_size(file); } }  }
ProcessingManager { long size (File file) { try { return drb_size(file); } catch (Exception e) { LOGGER.warn ("Cannot compute size via Drb API, using system API(" + e.getMessage() + ")."); return system_size(file); } }  @Transactional Product process(Product product); }
ProcessingManager { long size (File file) { try { return drb_size(file); } catch (Exception e) { LOGGER.warn ("Cannot compute size via Drb API, using system API(" + e.getMessage() + ")."); return system_size(file); } }  @Transactional Product process(Product product);  }