Apache Mesos
Classes | Public Member Functions | Public Attributes | List of all members
zookeeper::Group Class Reference

#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< Membershipjoin (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

GroupProcessprocess
 

Constructor & Destructor Documentation

zookeeper::Group::Group ( const std::string &  servers,
const Duration sessionTimeout,
const std::string &  znode,
const Option< Authentication > &  auth = None() 
)
zookeeper::Group::Group ( const URL url,
const Duration sessionTimeout 
)
zookeeper::Group::~Group ( )

Member Function Documentation

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 >())

Member Data Documentation

GroupProcess* zookeeper::Group::process

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