public class SharedSessionState extends Object
Modifier and Type | Field and Description |
---|---|
private ConcurrentMap<String,AtomicLong> |
counterMap |
private List<ProvenanceEventRecord> |
events |
private AtomicLong |
flowFileIdGenerator |
private MockFlowFileQueue |
flowFileQueue |
private Processor |
processor |
private ProvenanceReporter |
provenanceReporter |
Constructor and Description |
---|
SharedSessionState(Processor processor,
AtomicLong flowFileIdGenerator) |
Modifier and Type | Method and Description |
---|---|
(package private) void |
addProvenanceEvents(Collection<ProvenanceEventRecord> events) |
void |
adjustCounter(String name,
long delta) |
(package private) void |
clearProvenanceEvents() |
Long |
getCounterValue(String name) |
MockFlowFileQueue |
getFlowFileQueue() |
List<ProvenanceEventRecord> |
getProvenanceEvents() |
ProvenanceReporter |
getProvenanceReporter() |
long |
nextFlowFileId() |
private final MockFlowFileQueue flowFileQueue
private final ProvenanceReporter provenanceReporter
private final Processor processor
private final AtomicLong flowFileIdGenerator
private final ConcurrentMap<String,AtomicLong> counterMap
private final List<ProvenanceEventRecord> events
public SharedSessionState(Processor processor, AtomicLong flowFileIdGenerator)
void addProvenanceEvents(Collection<ProvenanceEventRecord> events)
void clearProvenanceEvents()
public List<ProvenanceEventRecord> getProvenanceEvents()
public MockFlowFileQueue getFlowFileQueue()
public ProvenanceReporter getProvenanceReporter()
public long nextFlowFileId()
public void adjustCounter(String name, long delta)
Copyright © 2021 Apache NiFi Project. All rights reserved.