public class BinProcessingResult extends Object
| Modifier and Type | Field and Description |
|---|---|
private Map<String,String> |
attributes
Map of attributes to add to original flow files
|
private boolean |
isCommitted
true if the processed bin was already committed. |
| Constructor and Description |
|---|
BinProcessingResult(boolean isCommitted) |
BinProcessingResult(boolean isCommitted,
Map<String,String> attributes) |
| Modifier and Type | Method and Description |
|---|---|
Map<String,String> |
getAttributes() |
boolean |
isCommitted() |
void |
setAttributes(Map<String,String> attributes) |
void |
setCommitted(boolean isCommitted) |
private boolean isCommitted
true if the processed bin was already committed. E.g., in case of a failure, the implementation
may choose to transfer all binned files to Failure and commit their sessions. If
false, the processBins() method will transfer the files to Original and commit the sessionsCopyright © 2023 Apache NiFi Project. All rights reserved.