Ejemplo n.º 1
0
  @Override
  public void cleanup(FlowProcess process, OperationCall<NullContext> operationCall) {
    LOGGER.info("Cleaning up FetchBuffer");

    terminate();

    _flowProcess.dumpCounters();
    super.cleanup(process, operationCall);
  }
Ejemplo n.º 2
0
  @Override
  public void cleanup(
      FlowProcess flowProcess, cascading.operation.OperationCall<NullContext> operationCall) {
    LOGGER.info("Cleaning up FilterAndScoreByUrlAndRobots");

    terminate();

    _flowProcess.dumpCounters();
    super.cleanup(flowProcess, operationCall);
  }
 @Override
 public void cleanup(FlowProcess flowProcess, OperationCall<NullContext> operationCall) {
   System.out.println(String.format("Skipped %d emails out of %d", _numSkipped, _numEmails));
   super.cleanup(flowProcess, operationCall);
 }