protected class AbstractPutEventProcessor.FlowFileMessageBatch extends Object
| Modifier and Type | Field and Description |
|---|---|
private boolean |
canceled |
private long |
completeTime |
private List<AbstractPutEventProcessor.Range> |
failedRanges |
private FlowFile |
flowFile |
private Exception |
lastFailureReason |
private long |
numMessages |
private ProcessSession |
session |
private long |
startTime |
private List<AbstractPutEventProcessor.Range> |
successfulRanges |
| Constructor and Description |
|---|
FlowFileMessageBatch(ProcessSession session,
FlowFile flowFile) |
| Modifier and Type | Method and Description |
|---|---|
void |
addFailedRange(long start,
long end,
Exception e) |
void |
addSuccessfulRange(long start,
long end) |
void |
cancelOrComplete() |
void |
completeSession() |
private boolean |
isComplete() |
void |
setNumMessages(long msgCount) |
private void |
transferRanges(List<AbstractPutEventProcessor.Range> ranges,
Relationship relationship) |
private final ProcessSession session
private final FlowFile flowFile
private final long startTime
private final List<AbstractPutEventProcessor.Range> successfulRanges
private final List<AbstractPutEventProcessor.Range> failedRanges
private Exception lastFailureReason
private long numMessages
private long completeTime
private boolean canceled
public FlowFileMessageBatch(ProcessSession session, FlowFile flowFile)
public void cancelOrComplete()
public void addSuccessfulRange(long start,
long end)
public void addFailedRange(long start,
long end,
Exception e)
private boolean isComplete()
public void setNumMessages(long msgCount)
private void transferRanges(List<AbstractPutEventProcessor.Range> ranges, Relationship relationship)
public void completeSession()
Copyright © 2022 Apache NiFi Project. All rights reserved.