| 37 | std::shared_ptr<logging::Logger> FlowFile::logger_ = logging::LoggerFactory<FlowFile>::getLogger(); |
| 38 | |
| 39 | FlowFile::FlowFile() |
| 40 | : CoreComponent("FlowFile"), |
| 41 | size_(0), |
| 42 | stored(false), |
| 43 | offset_(0), |
| 44 | last_queue_date_(0), |
| 45 | penaltyExpiration_ms_(0), |
| 46 | event_time_(0), |
| 47 | claim_(nullptr), |
| 48 | marked_delete_(false) { |
| 49 | id_ = numeric_id_generator_->generateId(); |
| 50 | entry_date_ = utils::timeutils::getTimeMillis(); |
| 51 | event_time_ = entry_date_; |
| 52 | lineage_start_date_ = entry_date_; |
| 53 | } |
| 54 | |
| 55 | FlowFile& FlowFile::operator=(const FlowFile& other) { |
| 56 | uuid_ = other.uuid_; |
nothing calls this directly
no test coverage detected