Apache Mesos
Public Member Functions | List of all members
zookeeper::LeaderDetector Class Reference

#include <detector.hpp>

Public Member Functions

 LeaderDetector (Group *group)
 
virtual ~LeaderDetector ()
 
process::Future< Option
< Group::Membership > > 
detect (const Option< Group::Membership > &previous=None())
 

Constructor & Destructor Documentation

zookeeper::LeaderDetector::LeaderDetector ( Group group)
explicit
virtual zookeeper::LeaderDetector::~LeaderDetector ( )
virtual

Member Function Documentation

process::Future<Option<Group::Membership> > zookeeper::LeaderDetector::detect ( const Option< Group::Membership > &  previous = None())

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