![]() |
CernVM-FS
2.12.0
|
#include <mountpoint.h>
Public Member Functions | |
IoErrorInfo () | |
void | Reset () |
void | AddIoError () |
void | SetCounter (perf::Counter *c) |
int64_t | count () |
time_t | timestamp_last () |
Private Attributes | |
perf::Counter * | counter_ |
time_t | timestamp_last_ |
Keeps information about I/O errors, e.g. writing local files, permanent network errors, etc. It counts the number of errors and the timestamp of the latest errors for consumption by monitoring tools such as Nagios
Definition at line 160 of file mountpoint.h.
FileSystem::IoErrorInfo::IoErrorInfo | ( | ) |
Definition at line 85 of file mountpoint.cc.
void FileSystem::IoErrorInfo::AddIoError | ( | ) |
Definition at line 92 of file mountpoint.cc.
Referenced by cvmfs::cvmfs_open(), LibContext::Open(), and FuseRemounter::SetOfflineMode().
int64_t FileSystem::IoErrorInfo::count | ( | ) |
Definition at line 99 of file mountpoint.cc.
Referenced by NIOErrMagicXattr::FinalizeValue().
void FileSystem::IoErrorInfo::Reset | ( | ) |
Definition at line 87 of file mountpoint.cc.
Referenced by FileSystem::ResetErrorCounters().
void FileSystem::IoErrorInfo::SetCounter | ( | perf::Counter * | c | ) |
Definition at line 97 of file mountpoint.cc.
Referenced by FileSystem::CreateStatistics().
time_t FileSystem::IoErrorInfo::timestamp_last | ( | ) |
Definition at line 101 of file mountpoint.cc.
|
private |
Definition at line 171 of file mountpoint.h.
|
private |
Definition at line 172 of file mountpoint.h.