5 #ifndef JODA_DEFAULTCONTAINERSCHEDULER_H
6 #define JODA_DEFAULTCONTAINERSCHEDULER_H
11 #include <rapidjson/istreamwrapper.h>
61 std::unique_ptr<RJDocument> &&doc,
62 std::unique_ptr<IOrigin> &&origin,
size_t size);
84 std::unique_ptr<JSONContainer> currentContainer;
85 std::unique_ptr<JSONContainer> createContainer(
size_t contSize)
const;
rapidjson::GenericDocument< RJChar, RJMemoryPoolAlloc, RJBaseAlloc > RJDocument
Definition: RJFwd.h:28
Definition: DefaultContainerScheduler.h:19
short ContainerIdentifier
Definition: DefaultContainerScheduler.h:21
virtual ~DefaultContainerScheduler()=default
DefaultContainerScheduler(JsonContainerQueue::queue_t *queue, size_t contSize=0)
Definition: DefaultContainerScheduler.cpp:55
ContainerIdentifier getContainerForDoc(const RJDocument &doc)
Definition: DefaultContainerScheduler.cpp:70
void scheduleDocument(ContainerIdentifier id, std::unique_ptr< RJDocument > &&doc, std::unique_ptr< IOrigin > &&origin, size_t size)
std::unique_ptr< RJDocument > getNewDoc(ContainerIdentifier id)
Definition: DefaultContainerScheduler.cpp:84
Definition: IImportSource.h:12