5 #ifndef JODA_IEXPORTDESTINATION_H
6 #define JODA_IEXPORTDESTINATION_H
53 std::unique_ptr<JSONContainer> cont;
56 if (cont ==
nullptr) {
57 LOG(WARNING) <<
"Received nullptr as container.";
Definition: IExportDestination.h:14
virtual void consumeContainer(JsonContainerQueue::queue_t &queue)
Definition: IExportDestination.h:52
virtual void exportContainer(std::unique_ptr< JSONContainer > &&cont)=0
std::pair< std::string, double > getTimer()
Definition: IExportDestination.h:34
virtual ~IExportDestination()=default
virtual const std::string toString()=0
RecurringTimer timer
Definition: IExportDestination.h:65
virtual void consume(JsonContainerQueue::queue_t &queue)
Definition: IExportDestination.h:23
virtual const std::string toQueryString()=0
virtual const std::string getTimerName()=0
Definition: RecurringTimer.h:14
void stop()
Definition: RecurringTimer.cpp:16
void start()
Definition: RecurringTimer.cpp:11
double durationSeconds() const
Definition: RecurringTimer.cpp:36
void retrieve(payload_t &e)
Definition: Queue.h:114
bool isFinished()
Definition: Queue.h:42