1#include <xrpl/nodestore/detail/BatchWriter.h> 
    8    , m_scheduler(scheduler)
 
   10    , mWritePending(false)
 
 
   69                "ripple::NodeStore::BatchWriter::writeBatch : writes not set");
 
   88        report.
elapsed = std::chrono::duration_cast<std::chrono::milliseconds>(
 
 
void store(std::shared_ptr< NodeObject > const &object)
Store the object.
 
int getWriteLoad()
Get an estimate of the amount of writing I/O pending.
 
void performScheduledTask() override
Performs the task.
 
BatchWriter(Callback &callback, Scheduler &scheduler)
Create a batch writer.
 
CondvarType mWriteCondition
 
~BatchWriter()
Destroy a batch writer.
 
Scheduling for asynchronous backend activity.
 
virtual void onBatchWrite(BatchWriteReport const &report)=0
Reports the completion of a batch write Allows the scheduler to monitor the node store's performance.
 
virtual void scheduleTask(Task &task)=0
Schedules a task.
 
@ batchWritePreallocationSize
 
Use hash_* containers for keys that do not need a cryptographically secure hashing algorithm.
 
bool set(T &target, std::string const &name, Section const §ion)
Set a value from a configuration Section If the named value is not found or doesn't parse as a T,...
 
Contains information about a batch write operation.
 
std::chrono::milliseconds elapsed
 
This callback does the actual writing.
 
virtual void writeBatch(Batch const &batch)=0