VacuousLogHandler is a log handler implenmentation that do nothing in all methods. It is used for testing.  
 更多...
#include <vacuous_log_handler.h>
VacuousLogHandler is a log handler implenmentation that do nothing in all methods. It is used for testing. 
◆ _append()
  
  | 
        
          | RC VacuousLogHandler::_append | ( | LSN & | lsn, |  
          |  |  | LogModule | module, |  
          |  |  | vector< char > && | data |  
          |  | ) |  |  |  | inlineoverrideprivatevirtual | 
 
 
◆ await_termination()
  
  | 
        
          | RC VacuousLogHandler::await_termination | ( |  | ) |  |  | inlineoverridevirtual | 
 
 
◆ current_lsn()
  
  | 
        
          | LSN VacuousLogHandler::current_lsn | ( |  | ) | const |  | inlineoverridevirtual | 
 
 
◆ init()
  
  | 
        
          | RC VacuousLogHandler::init | ( | const char * | path | ) |  |  | inlineoverridevirtual | 
 
 
◆ iterate()
  
  | 
        
          | RC VacuousLogHandler::iterate | ( | function< RC(LogEntry &)> | consumer, |  
          |  |  | LSN | start_lsn |  
          |  | ) |  |  |  | inlineoverridevirtual | 
 
迭代日志 
- 参数
- 
  
    | consumer | 消费者 |  | start_lsn | 从哪个LSN开始迭代 |  
 
实现了 LogHandler.
 
 
◆ replay()
  
  | 
        
          | RC VacuousLogHandler::replay | ( | LogReplayer & | replayer, |  
          |  |  | LSN | start_lsn |  
          |  | ) |  |  |  | inlineoverridevirtual | 
 
回放日志 
- 参数
- 
  
    | replayer | 日志回放器 |  | start_lsn | 从哪个LSN开始回放 |  
 
实现了 LogHandler.
 
 
◆ start()
  
  | 
        
          | RC VacuousLogHandler::start | ( |  | ) |  |  | inlineoverridevirtual | 
 
 
◆ stop()
  
  | 
        
          | RC VacuousLogHandler::stop | ( |  | ) |  |  | inlineoverridevirtual | 
 
 
◆ wait_lsn()
  
  | 
        
          | RC VacuousLogHandler::wait_lsn | ( | LSN | lsn | ) |  |  | inlineoverridevirtual | 
 
 
该类的文档由以下文件生成: