Apache Mesos
|
#include <group.hpp>
Classes | |
struct | Membership |
Public Member Functions | |
Group (const std::string &servers, const Duration &sessionTimeout, const std::string &znode, const Option< Authentication > &auth=None()) | |
Group (const URL &url, const Duration &sessionTimeout) | |
~Group () | |
process::Future< Membership > | join (const std::string &data, const Option< std::string > &label=None()) |
process::Future< bool > | cancel (const Membership &membership) |
process::Future< Option< std::string > > | data (const Membership &membership) |
process::Future< std::set< Membership > > | watch (const std::set< Membership > &expected=std::set< Membership >()) |
process::Future< Option< int64_t > > | session () |
Public Attributes | |
GroupProcess * | process |
zookeeper::Group::Group | ( | const std::string & | servers, |
const Duration & | sessionTimeout, | ||
const std::string & | znode, | ||
const Option< Authentication > & | auth = None() |
||
) |
zookeeper::Group::~Group | ( | ) |
process::Future<bool> zookeeper::Group::cancel | ( | const Membership & | membership | ) |
process::Future<Option<std::string> > zookeeper::Group::data | ( | const Membership & | membership | ) |
process::Future<Membership> zookeeper::Group::join | ( | const std::string & | data, |
const Option< std::string > & | label = None() |
||
) |
process::Future<Option<int64_t> > zookeeper::Group::session | ( | ) |
process::Future<std::set<Membership> > zookeeper::Group::watch | ( | const std::set< Membership > & | expected = std::set< Membership >() | ) |
GroupProcess* zookeeper::Group::process |