#include <XrdOucCacheStats.hh>
Public Member Functions | |
void | Get (XrdOucCacheStats &Dst) |
void | Add (XrdOucCacheStats &Src) |
void | Add (long long &Dest, int &Val) |
void | Lock () |
void | UnLock () |
XrdOucCacheStats () | |
~XrdOucCacheStats () | |
Public Attributes | |
long long | BytesPead |
long long | BytesRead |
long long | BytesGet |
long long | BytesPass |
long long | BytesWrite |
long long | BytesPut |
int | Hits |
int | Miss |
int | HitsPR |
int | MissPR |
Private Attributes | |
XrdSysMutex | sMutex |
XrdOucCacheStats::XrdOucCacheStats | ( | ) | [inline] |
XrdOucCacheStats::~XrdOucCacheStats | ( | ) | [inline] |
void XrdOucCacheStats::Add | ( | long long & | Dest, | |
int & | Val | |||
) | [inline] |
References XrdSysMutex::Lock(), sMutex, and XrdSysMutex::UnLock().
void XrdOucCacheStats::Add | ( | XrdOucCacheStats & | Src | ) | [inline] |
References BytesGet, BytesPass, BytesPead, BytesPut, BytesRead, BytesWrite, Hits, HitsPR, XrdSysMutex::Lock(), Miss, MissPR, sMutex, and XrdSysMutex::UnLock().
void XrdOucCacheStats::Get | ( | XrdOucCacheStats & | Dst | ) | [inline] |
References BytesGet, BytesPass, BytesPead, BytesPut, BytesRead, BytesWrite, Hits, HitsPR, XrdSysMutex::Lock(), Miss, MissPR, sMutex, and XrdSysMutex::UnLock().
void XrdOucCacheStats::Lock | ( | ) | [inline] |
References XrdSysMutex::Lock(), and sMutex.
void XrdOucCacheStats::UnLock | ( | ) | [inline] |
References sMutex, and XrdSysMutex::UnLock().
long long XrdOucCacheStats::BytesGet |
long long XrdOucCacheStats::BytesPass |
long long XrdOucCacheStats::BytesPead |
long long XrdOucCacheStats::BytesPut |
long long XrdOucCacheStats::BytesRead |
long long XrdOucCacheStats::BytesWrite |
XrdSysMutex XrdOucCacheStats::sMutex [private] |