Tkrzw
Public Member Functions | List of all members
tkrzw::AsyncDBM::RecordProcessor Class Reference

Interface of asynchronous processor for a record. More...

#include <tkrzw_dbm_async.h>

Public Member Functions

virtual ~RecordProcessor ()=default
 Destructor. More...
 
virtual void ProcessStatus (const Status &status)
 Processes the status of the database operation. More...
 
- Public Member Functions inherited from tkrzw::DBM::RecordProcessor
virtual std::string_view ProcessFull (std::string_view key, std::string_view value)
 Processes an existing record. More...
 
virtual std::string_view ProcessEmpty (std::string_view key)
 Processes an empty record space. More...
 

Additional Inherited Members

- Static Public Attributes inherited from tkrzw::DBM::RecordProcessor
static const std::string_view NOOP
 The special string indicating no operation. More...
 
static const std::string_view REMOVE
 The special string indicating removing operation. More...
 

Detailed Description

Interface of asynchronous processor for a record.

Constructor & Destructor Documentation

◆ ~RecordProcessor()

virtual tkrzw::AsyncDBM::RecordProcessor::~RecordProcessor ( )
virtualdefault

Destructor.

Reimplemented from tkrzw::DBM::RecordProcessor.

Member Function Documentation

◆ ProcessStatus()

virtual void tkrzw::AsyncDBM::RecordProcessor::ProcessStatus ( const Status status)
virtual

Processes the status of the database operation.

Parameters
statusThe status of the database operation.

This is called just after the database operation.