VFS stat info. More...
#include <XrdClXRootDResponses.hh>
Public Member Functions | |
StatInfoVFS (const char *data) | |
Constructor. | |
uint64_t | GetNodesRW () const |
Get number of nodes that can provide read/write space. | |
uint64_t | GetFreeRW () const |
Get size of the largest contiguous area of free r/w space (in MB). | |
uint8_t | GetUtilizationRW () const |
Get percentage of the partition utilization represented by FreeRW. | |
uint64_t | GetNodesStaging () const |
Get number of nodes that can provide staging space. | |
uint64_t | GetFreeStaging () const |
Get size of the largest contiguous area of free staging space (in MB). | |
uint8_t | GetUtilizationStaging () const |
Get percentage of the partition utilization represented by FreeStaging. | |
Private Member Functions | |
void | ParseServerResponse (const char *data) |
Private Attributes | |
uint64_t | pNodesRW |
uint64_t | pFreeRW |
uint32_t | pUtilizationRW |
uint64_t | pNodesStaging |
uint64_t | pFreeStaging |
uint32_t | pUtilizationStaging |
VFS stat info.
XrdCl::StatInfoVFS::StatInfoVFS | ( | const char * | data | ) |
Constructor.
uint64_t XrdCl::StatInfoVFS::GetFreeRW | ( | ) | const [inline] |
Get size of the largest contiguous area of free r/w space (in MB).
References pFreeRW.
uint64_t XrdCl::StatInfoVFS::GetFreeStaging | ( | ) | const [inline] |
Get size of the largest contiguous area of free staging space (in MB).
References pFreeStaging.
uint64_t XrdCl::StatInfoVFS::GetNodesRW | ( | ) | const [inline] |
Get number of nodes that can provide read/write space.
References pNodesRW.
uint64_t XrdCl::StatInfoVFS::GetNodesStaging | ( | ) | const [inline] |
Get number of nodes that can provide staging space.
References pNodesStaging.
uint8_t XrdCl::StatInfoVFS::GetUtilizationRW | ( | ) | const [inline] |
Get percentage of the partition utilization represented by FreeRW.
References pUtilizationRW.
uint8_t XrdCl::StatInfoVFS::GetUtilizationStaging | ( | ) | const [inline] |
Get percentage of the partition utilization represented by FreeStaging.
References pUtilizationStaging.
void XrdCl::StatInfoVFS::ParseServerResponse | ( | const char * | data | ) | [private] |
uint64_t XrdCl::StatInfoVFS::pFreeRW [private] |
Referenced by GetFreeRW().
uint64_t XrdCl::StatInfoVFS::pFreeStaging [private] |
Referenced by GetFreeStaging().
uint64_t XrdCl::StatInfoVFS::pNodesRW [private] |
Referenced by GetNodesRW().
uint64_t XrdCl::StatInfoVFS::pNodesStaging [private] |
Referenced by GetNodesStaging().
uint32_t XrdCl::StatInfoVFS::pUtilizationRW [private] |
Referenced by GetUtilizationRW().
uint32_t XrdCl::StatInfoVFS::pUtilizationStaging [private] |
Referenced by GetUtilizationStaging().