XRootD
Loading...
Searching...
No Matches
XrdCl::FileSystemUtils::SpaceInfo Class Reference

Container for space information. More...

#include <XrdClFileSystemUtils.hh>

+ Collaboration diagram for XrdCl::FileSystemUtils::SpaceInfo:

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.
 
uint64_t GetLargestFreeChunk () const
 Largest single chunk of free space.
 
uint64_t GetTotal () const
 Amount of total space in MB.
 
uint64_t GetUsed () const
 Amount of used space in MB.
 

Detailed Description

Container for space information.

Definition at line 53 of file XrdClFileSystemUtils.hh.

Constructor & Destructor Documentation

◆ SpaceInfo()

XrdCl::FileSystemUtils::SpaceInfo::SpaceInfo ( uint64_t total,
uint64_t free,
uint64_t used,
uint64_t largestChunk )

Definition at line 59 of file XrdClFileSystemUtils.cc.

60 :
61 pImpl( new SpaceInfoImpl( total, free, used, largestChunk ) )
62 {
63 }

◆ ~SpaceInfo()

XrdCl::FileSystemUtils::SpaceInfo::~SpaceInfo ( )

Definition at line 68 of file XrdClFileSystemUtils.cc.

69 {
70 }

Member Function Documentation

◆ GetFree()

uint64_t XrdCl::FileSystemUtils::SpaceInfo::GetFree ( ) const

Amount of free space in MB.

Definition at line 80 of file XrdClFileSystemUtils.cc.

80{ return pImpl->pFree; }

Referenced by DoSpaceInfo().

+ Here is the caller graph for this function:

◆ GetLargestFreeChunk()

uint64_t XrdCl::FileSystemUtils::SpaceInfo::GetLargestFreeChunk ( ) const

Largest single chunk of free space.

Definition at line 90 of file XrdClFileSystemUtils.cc.

91 {
92 return pImpl->pLargestChunk;
93 }

Referenced by DoSpaceInfo().

+ Here is the caller graph for this function:

◆ GetTotal()

uint64_t XrdCl::FileSystemUtils::SpaceInfo::GetTotal ( ) const

Amount of total space in MB.

Definition at line 75 of file XrdClFileSystemUtils.cc.

75{ return pImpl->pTotal; }

Referenced by DoSpaceInfo().

+ Here is the caller graph for this function:

◆ GetUsed()

uint64_t XrdCl::FileSystemUtils::SpaceInfo::GetUsed ( ) const

Amount of used space in MB.

Definition at line 85 of file XrdClFileSystemUtils.cc.

85{ return pImpl->pUsed; }

Referenced by DoSpaceInfo().

+ Here is the caller graph for this function:

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