Apache Mesos
Functions
routing::queueing::internal Namespace Reference

Functions

template<typename Config >
Try< Nothingencode (const Netlink< struct rtnl_qdisc > &qdisc, const Config &config)
 
template<typename Config >
Result< Config > decode (const Netlink< struct rtnl_qdisc > &qdisc)
 
template<typename Config >
Try< Netlink< struct rtnl_qdisc > > encodeDiscipline (const Netlink< struct rtnl_link > &link, const Discipline< Config > &discipline)
 
Try< std::vector< Netlink< struct rtnl_qdisc > > > getQdiscs (const Netlink< struct rtnl_link > &link)
 
Result< Netlink< struct rtnl_qdisc > > getQdisc (const Netlink< struct rtnl_link > &link, const Handle &parent, const std::string &kind)
 
Try< bool > exists (const std::string &_link, const Handle &parent, const std::string &kind)
 
template<typename Config >
Try< bool > create (const std::string &_link, const Discipline< Config > &discipline)
 
Try< bool > remove (const std::string &_link, const Handle &parent, const std::string &kind)
 
Result< hashmap< std::string, uint64_t > > statistics (const std::string &_link, const Handle &parent, const std::string &kind)
 

Function Documentation

template<typename Config >
Try<bool> routing::queueing::internal::create ( const std::string &  _link,
const Discipline< Config > &  discipline 
)
template<typename Config >
Result<Config> routing::queueing::internal::decode ( const Netlink< struct rtnl_qdisc > &  qdisc)
template<typename Config >
Try<Nothing> routing::queueing::internal::encode ( const Netlink< struct rtnl_qdisc > &  qdisc,
const Config &  config 
)
template<typename Config >
Try<Netlink<struct rtnl_qdisc> > routing::queueing::internal::encodeDiscipline ( const Netlink< struct rtnl_link > &  link,
const Discipline< Config > &  discipline 
)
Try<bool> routing::queueing::internal::exists ( const std::string &  _link,
const Handle parent,
const std::string &  kind 
)
inline
Result<Netlink<struct rtnl_qdisc> > routing::queueing::internal::getQdisc ( const Netlink< struct rtnl_link > &  link,
const Handle parent,
const std::string &  kind 
)
inline
Try<std::vector<Netlink<struct rtnl_qdisc> > > routing::queueing::internal::getQdiscs ( const Netlink< struct rtnl_link > &  link)
inline
Try<bool> routing::queueing::internal::remove ( const std::string &  _link,
const Handle parent,
const std::string &  kind 
)
inline
Result<hashmap<std::string, uint64_t> > routing::queueing::internal::statistics ( const std::string &  _link,
const Handle parent,
const std::string &  kind 
)
inline