CernVM-FS  2.11.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
FileSystem::IoErrorInfo Class Reference

#include <mountpoint.h>

Collaboration diagram for FileSystem::IoErrorInfo:

Public Member Functions

 IoErrorInfo ()
 
void Reset ()
 
void AddIoError ()
 
void SetCounter (perf::Counter *c)
 
int64_t count ()
 
time_t timestamp_last ()
 

Private Attributes

perf::Countercounter_
 
time_t timestamp_last_
 

Detailed Description

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 159 of file mountpoint.h.

Constructor & Destructor Documentation

FileSystem::IoErrorInfo::IoErrorInfo ( )

Definition at line 83 of file mountpoint.cc.

Member Function Documentation

void FileSystem::IoErrorInfo::AddIoError ( )

Definition at line 90 of file mountpoint.cc.

Referenced by cvmfs::cvmfs_open(), LibContext::Open(), and FuseRemounter::SetOfflineMode().

Here is the call graph for this function:

Here is the caller graph for this function:

int64_t FileSystem::IoErrorInfo::count ( )

Definition at line 97 of file mountpoint.cc.

Referenced by NIOErrMagicXattr::GetValue().

Here is the caller graph for this function:

void FileSystem::IoErrorInfo::Reset ( )

Definition at line 85 of file mountpoint.cc.

Referenced by FileSystem::ResetErrorCounters().

Here is the caller graph for this function:

void FileSystem::IoErrorInfo::SetCounter ( perf::Counter c)

Definition at line 95 of file mountpoint.cc.

Referenced by FileSystem::CreateStatistics().

Here is the caller graph for this function:

time_t FileSystem::IoErrorInfo::timestamp_last ( )

Definition at line 99 of file mountpoint.cc.

Referenced by TimestampLastIOErrMagicXattr::GetValue().

Here is the caller graph for this function:

Member Data Documentation

perf::Counter* FileSystem::IoErrorInfo::counter_
private

Definition at line 170 of file mountpoint.h.

time_t FileSystem::IoErrorInfo::timestamp_last_
private

Definition at line 171 of file mountpoint.h.


The documentation for this class was generated from the following files: