Apache Mesos
Classes | Enumerations | Functions
mesos::internal::xfs Namespace Reference

Classes

struct  QuotaInfo
 
class  BasicBlocks
 

Enumerations

enum  QuotaPolicy { QuotaPolicy::ENFORCING, QuotaPolicy::ACCOUNTING }
 

Functions

bool operator== (const QuotaInfo &left, const QuotaInfo &right)
 
Option< ErrorvalidateProjectIds (const IntervalSet< prid_t > &projectRange)
 
bool isPathXfs (const std::string &path)
 
Try< bool > isQuotaEnabled (const std::string &path)
 
Result< QuotaInfogetProjectQuota (const std::string &path, prid_t projectId)
 
Try< NothingsetProjectQuota (const std::string &path, prid_t projectId, Bytes limit)
 
Try< NothingclearProjectQuota (const std::string &path, prid_t projectId)
 
Result< prid_t > getProjectId (const std::string &directory)
 
Try< NothingsetProjectId (const std::string &directory, prid_t projectId)
 
Try< NothingclearProjectId (const std::string &directory)
 

Enumeration Type Documentation

Enumerator
ENFORCING 
ACCOUNTING 

Function Documentation

Try<Nothing> mesos::internal::xfs::clearProjectId ( const std::string &  directory)
Try<Nothing> mesos::internal::xfs::clearProjectQuota ( const std::string &  path,
prid_t  projectId 
)
Result<prid_t> mesos::internal::xfs::getProjectId ( const std::string &  directory)
Result<QuotaInfo> mesos::internal::xfs::getProjectQuota ( const std::string &  path,
prid_t  projectId 
)
bool mesos::internal::xfs::isPathXfs ( const std::string &  path)
Try<bool> mesos::internal::xfs::isQuotaEnabled ( const std::string &  path)
bool mesos::internal::xfs::operator== ( const QuotaInfo &  left,
const QuotaInfo &  right 
)
inline
Try<Nothing> mesos::internal::xfs::setProjectId ( const std::string &  directory,
prid_t  projectId 
)
Try<Nothing> mesos::internal::xfs::setProjectQuota ( const std::string &  path,
prid_t  projectId,
Bytes  limit 
)
Option<Error> mesos::internal::xfs::validateProjectIds ( const IntervalSet< prid_t > &  projectRange)