Apache Mesos
Public Member Functions | List of all members
mesos::internal::slave::NetClsHandleManager Class Reference

#include <net_cls.hpp>

Public Member Functions

 NetClsHandleManager (const IntervalSet< uint32_t > &_primaries, const IntervalSet< uint32_t > &_secondaries=IntervalSet< uint32_t >())
 
 ~NetClsHandleManager ()
 
Try< uint16_t > allocPrimary ()
 
Try< NetClsHandlealloc (const Option< uint16_t > &primary=None())
 
Try< Nothingreserve (const NetClsHandle &handle)
 
Try< Nothingfree (const NetClsHandle &handle)
 
Try< bool > isUsed (const NetClsHandle &handle)
 

Constructor & Destructor Documentation

mesos::internal::slave::NetClsHandleManager::NetClsHandleManager ( const IntervalSet< uint32_t > &  _primaries,
const IntervalSet< uint32_t > &  _secondaries = IntervalSet< uint32_t >() 
)
mesos::internal::slave::NetClsHandleManager::~NetClsHandleManager ( )
inline

Member Function Documentation

Try<NetClsHandle> mesos::internal::slave::NetClsHandleManager::alloc ( const Option< uint16_t > &  primary = None())
Try<uint16_t> mesos::internal::slave::NetClsHandleManager::allocPrimary ( )
inline
Try<Nothing> mesos::internal::slave::NetClsHandleManager::free ( const NetClsHandle handle)
Try<bool> mesos::internal::slave::NetClsHandleManager::isUsed ( const NetClsHandle handle)
Try<Nothing> mesos::internal::slave::NetClsHandleManager::reserve ( const NetClsHandle handle)

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