Apache Mesos
|
#include <network.hpp>
Public Member Functions | |
ZooKeeperNetwork (const std::string &servers, const Duration &timeout, const std::string &znode, const Option< zookeeper::Authentication > &auth, const std::set< process::UPID > &base=std::set< process::UPID >()) | |
Public Member Functions inherited from Network | |
Network () | |
Network (const std::set< process::UPID > &pids) | |
virtual | ~Network () |
void | add (const process::UPID &pid) |
void | remove (const process::UPID &pid) |
void | set (const std::set< process::UPID > &pids) |
process::Future< size_t > | watch (size_t size, WatchMode mode=NOT_EQUAL_TO) const |
template<typename Req , typename Res > | |
process::Future< std::set< process::Future< Res > > > | broadcast (const Protocol< Req, Res > &protocol, const Req &req, const std::set< process::UPID > &filter=std::set< process::UPID >()) const |
template<typename M > | |
process::Future< Nothing > | broadcast (const M &m, const std::set< process::UPID > &filter=std::set< process::UPID >()) const |
Additional Inherited Members | |
Public Types inherited from Network | |
enum | WatchMode { EQUAL_TO, NOT_EQUAL_TO, LESS_THAN, LESS_THAN_OR_EQUAL_TO, GREATER_THAN, GREATER_THAN_OR_EQUAL_TO } |
|
inline |