Lines Matching defs:LogPersisterRotator
40 bool LogPersisterRotator::IsOldFile(const std::string& logName, const int index)
51 LogPersisterRotator::LogPersisterRotator(const std::string& logsPath, uint32_t id, uint32_t maxFiles,
57 LogPersisterRotator::~LogPersisterRotator()
63 int LogPersisterRotator::Init(const PersistRecoveryInfo& info, bool restore)
77 int LogPersisterRotator::OpenInfoFile()
92 int LogPersisterRotator::Input(const char *buf, uint32_t length)
108 void LogPersisterRotator::RemoveOldFile()
127 void LogPersisterRotator::Rotate()
138 void LogPersisterRotator::CreateLogFile()
157 void LogPersisterRotator::UpdateRotateNumber()
163 void LogPersisterRotator::FinishInput()
171 void LogPersisterRotator::SetFileIndex(uint32_t index, bool forceRotate)
180 void LogPersisterRotator::WriteRecoveryInfo()
183 std::cerr << "LogPersisterRotator has not been initialized!\n";