private class ControlRate.ThrottleFilter extends Object implements FlowFileFilter
FlowFileFilter.FlowFileFilterResult| Modifier and Type | Field and Description |
|---|---|
private LongSupplier |
currentTimeSupplier |
private int |
flowFilesInBatch |
private int |
flowFilesPerBatch |
| Constructor and Description |
|---|
ThrottleFilter(int maxFFPerBatch,
LongSupplier currentTimeSupplier) |
| Modifier and Type | Method and Description |
|---|---|
FlowFileFilter.FlowFileFilterResult |
filter(FlowFile flowFile) |
private final int flowFilesPerBatch
private final LongSupplier currentTimeSupplier
private int flowFilesInBatch
ThrottleFilter(int maxFFPerBatch,
LongSupplier currentTimeSupplier)
public FlowFileFilter.FlowFileFilterResult filter(FlowFile flowFile)
filter in interface FlowFileFilterCopyright © 2023 Apache NiFi Project. All rights reserved.