Class AbstractPutEventProcessor.FlowFileMessageBatch

java.lang.Object
org.apache.nifi.processor.util.put.AbstractPutEventProcessor.FlowFileMessageBatch
Enclosing class:
AbstractPutEventProcessor<T>

protected class AbstractPutEventProcessor.FlowFileMessageBatch extends Object
A wrapper to hold the ranges of a FlowFile that were successful and ranges that failed, and then transfer those ranges appropriately.
  • Field Details

  • Constructor Details

  • Method Details

    • cancelOrComplete

      public void cancelOrComplete()
    • addSuccessfulRange

      public void addSuccessfulRange(long start, long end)
    • addFailedRange

      public void addFailedRange(long start, long end, Exception e)
    • isComplete

      private boolean isComplete()
    • setNumMessages

      public void setNumMessages(long msgCount)
    • transferRanges

      private void transferRanges(List<AbstractPutEventProcessor.Range> ranges, Relationship relationship)
    • completeSession

      public void completeSession()