![]() |
XRootD
|
Container for space information. More...
#include <XrdClFileSystemUtils.hh>
Public Member Functions | |
SpaceInfo (uint64_t total, uint64_t free, uint64_t used, uint64_t largestChunk) | |
~SpaceInfo () | |
uint64_t | GetFree () const |
Amount of free space in MB. More... | |
uint64_t | GetLargestFreeChunk () const |
Largest single chunk of free space. More... | |
uint64_t | GetTotal () const |
Amount of total space in MB. More... | |
uint64_t | GetUsed () const |
Amount of used space in MB. More... | |
Container for space information.
Definition at line 53 of file XrdClFileSystemUtils.hh.
XrdCl::FileSystemUtils::SpaceInfo::SpaceInfo | ( | uint64_t | total, |
uint64_t | free, | ||
uint64_t | used, | ||
uint64_t | largestChunk | ||
) |
Definition at line 59 of file XrdClFileSystemUtils.cc.
XrdCl::FileSystemUtils::SpaceInfo::~SpaceInfo | ( | ) |
Definition at line 68 of file XrdClFileSystemUtils.cc.
uint64_t XrdCl::FileSystemUtils::SpaceInfo::GetFree | ( | ) | const |
Amount of free space in MB.
Definition at line 80 of file XrdClFileSystemUtils.cc.
Referenced by DoSpaceInfo().
uint64_t XrdCl::FileSystemUtils::SpaceInfo::GetLargestFreeChunk | ( | ) | const |
Largest single chunk of free space.
Definition at line 90 of file XrdClFileSystemUtils.cc.
Referenced by DoSpaceInfo().
uint64_t XrdCl::FileSystemUtils::SpaceInfo::GetTotal | ( | ) | const |
Amount of total space in MB.
Definition at line 75 of file XrdClFileSystemUtils.cc.
Referenced by DoSpaceInfo().
uint64_t XrdCl::FileSystemUtils::SpaceInfo::GetUsed | ( | ) | const |
Amount of used space in MB.
Definition at line 85 of file XrdClFileSystemUtils.cc.
Referenced by DoSpaceInfo().