载入中...
搜索中...
未找到
eve::detail::EventLogValidator类 参考

Incremental validator for the retained event log of a registry image. 更多...

#include <VersionedRegistry.h>

Public 成员函数

eve::Result< void > accept (EventSequence sequence, Generation generation, bool remove, bool tombstone)
 Accept one event header; the first failure describes the whole log.
 
eve::Result< void > finish (EventSequence nextEventSequence) const
 Validate the boundary between the retained log and the next sequence.
 

详细描述

Incremental validator for the retained event log of a registry image.

Rules: strictly increasing positive sequences, positive generations, and a tombstone exactly when the event removes a key.

在文件 VersionedRegistry.h 第 59 行定义.

成员函数说明

◆ accept()

eve::Result< void > eve::detail::EventLogValidator::accept ( EventSequence  sequence,
Generation  generation,
bool  remove,
bool  tombstone 
)

◆ finish()

eve::Result< void > eve::detail::EventLogValidator::finish ( EventSequence  nextEventSequence) const

该类的文档由以下文件生成: