protected static class StandardProcessSession.Checkpoint extends Object
| Modifier | Constructor and Description |
|---|---|
protected |
Checkpoint() |
| Modifier and Type | Method and Description |
|---|---|
private void |
checkpoint(StandardProcessSession session,
List<ProvenanceEventRecord> autoTerminatedEvents,
boolean copy) |
private void |
copyCheckpoint(StandardProcessSession session,
List<ProvenanceEventRecord> autoTerminatedEvents)
Checkpoints the Process Session by copying all information from the session's collections into this Checkpoint's collections.
|
private void |
directCheckpoint(StandardProcessSession session,
List<ProvenanceEventRecord> autoTerminatedEvents)
Checkpoints the Process Session by adding references to the existing collections within the Process Session.
|
private StandardRepositoryRecord |
getRecord(FlowFile flowFile) |
private void |
initializeForCopy() |
private <K,V> void |
mergeMaps(Map<K,V> destination,
Map<K,V> toMerge,
BiFunction<? super V,? super V,? extends V> merger) |
private <K,V> void |
mergeMapsWithMutableValue(Map<K,V> destination,
Map<K,V> toMerge,
BiConsumer<? super V,? super V> merger) |
private long processingTime
private Map<FlowFile,List<ProvenanceEventRecord>> generatedProvenanceEvents
private Map<FlowFile,ProvenanceEventBuilder> forkEventBuilders
private List<ProvenanceEventRecord> autoTerminatedEvents
private Set<ProvenanceEventRecord> reportedEvents
private Map<Long,StandardRepositoryRecord> records
private Map<String,StandardFlowFileEvent> connectionCounts
private int removedCount
private long removedBytes
private long bytesRead
private long bytesWritten
private int flowFilesIn
private int flowFilesOut
private long contentSizeIn
private long contentSizeOut
private int flowFilesReceived
private int flowFilesSent
private long bytesReceived
private long bytesSent
private boolean initialized
private StateMap localState
private StateMap clusterState
private void initializeForCopy()
private void checkpoint(StandardProcessSession session, List<ProvenanceEventRecord> autoTerminatedEvents, boolean copy)
private void directCheckpoint(StandardProcessSession session, List<ProvenanceEventRecord> autoTerminatedEvents)
private void copyCheckpoint(StandardProcessSession session, List<ProvenanceEventRecord> autoTerminatedEvents)
private <K,V> void mergeMaps(Map<K,V> destination, Map<K,V> toMerge, BiFunction<? super V,? super V,? extends V> merger)
private <K,V> void mergeMapsWithMutableValue(Map<K,V> destination, Map<K,V> toMerge, BiConsumer<? super V,? super V> merger)
private StandardRepositoryRecord getRecord(FlowFile flowFile)
Copyright © 2021 Apache NiFi Project. All rights reserved.