Repository: mesos Updated Branches: refs/heads/master 49c114305 -> b62c6e6be
Minor doc fixes for the scheduler library. Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/b62c6e6b Tree: http://git-wip-us.apache.org/repos/asf/mesos/tree/b62c6e6b Diff: http://git-wip-us.apache.org/repos/asf/mesos/diff/b62c6e6b Branch: refs/heads/master Commit: b62c6e6be04d3145f809932dbbf66421e25ed069 Parents: 49c1143 Author: Vinod Kone <[email protected]> Authored: Thu Aug 13 14:40:30 2015 -0700 Committer: Vinod Kone <[email protected]> Committed: Thu Aug 13 14:40:30 2015 -0700 ---------------------------------------------------------------------- include/mesos/v1/scheduler.hpp | 14 ++++---------- 1 file changed, 4 insertions(+), 10 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/mesos/blob/b62c6e6b/include/mesos/v1/scheduler.hpp ---------------------------------------------------------------------- diff --git a/include/mesos/v1/scheduler.hpp b/include/mesos/v1/scheduler.hpp index b3f4484..dddc494 100644 --- a/include/mesos/v1/scheduler.hpp +++ b/include/mesos/v1/scheduler.hpp @@ -34,19 +34,13 @@ namespace scheduler { class MesosProcess; // Forward declaration. // Interface to Mesos for a scheduler. Abstracts master detection -// (connection and disconnection) and authentication if some -// credentials are provided. +// (connection and disconnection). // // Expects three callbacks, 'connected', 'disconnected', and // 'received' which will get invoked _serially_ when it's determined -// that we've connected, disconnected, or received events from the -// master. Note that we drop events while disconnected but it's -// possible to receive a batch of events across a -// disconnected/connected transition before getting the disconnected -// and then connected callback. -// -// TODO(benh): Don't include events in 'received' that occured after a -// disconnected/connected transition. +// that we've connected (i.e., detected master), disconnected +// (i.e, detected no master), or received events from the master. +// Note that we drop events while disconnected. class Mesos { public:
