MCPcopy Create free account
hub / github.com/apache/mesos / next

Method next

src/slave/task_status_update_manager.cpp:796–807  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

794
795
796Result<StatusUpdate> TaskStatusUpdateStream::next()
797{
798 if (error.isSome()) {
799 return Error(error.get());
800 }
801
802 if (!pending.empty()) {
803 return pending.front();
804 }
805
806 return None();
807}
808
809
810Try<Nothing> TaskStatusUpdateStream::replay(

Callers 4

_updateMethod · 0.45
acknowledgementMethod · 0.45
fFunction · 0.45

Calls 5

NoneClass · 0.85
ErrorFunction · 0.50
isSomeMethod · 0.45
getMethod · 0.45
emptyMethod · 0.45

Tested by

no test coverage detected