@Test public void closedStatusRecordsStillMakeWork() { WorkMaker workMaker = new WorkMaker(null, null); assertFalse(workMaker.shouldCreateWork(StatusUtil.fileCreated(System.currentTimeMillis()))); assertTrue(workMaker.shouldCreateWork(StatusUtil.ingestedUntil(1000))); assertFalse(workMaker.shouldCreateWork(Status.newBuilder().setBegin(Long.MAX_VALUE).setEnd(0) .setInfiniteEnd(true).setClosed(true).build())); }
protected boolean shouldCreateWork(Status status) { return StatusUtil.isWorkRequired(status); }
WorkMaker { protected boolean shouldCreateWork(Status status) { return StatusUtil.isWorkRequired(status); } }
WorkMaker { protected boolean shouldCreateWork(Status status) { return StatusUtil.isWorkRequired(status); } WorkMaker(ServerContext context, AccumuloClient client); }
WorkMaker { protected boolean shouldCreateWork(Status status) { return StatusUtil.isWorkRequired(status); } WorkMaker(ServerContext context, AccumuloClient client); void run(); }
WorkMaker { protected boolean shouldCreateWork(Status status) { return StatusUtil.isWorkRequired(status); } WorkMaker(ServerContext context, AccumuloClient client); void run();  }