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

Method track

src/common/future_tracker.hpp:116–129  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

114 */
115 template <typename T>
116 process::Future<T> track(
117 const process::Future<T>& future,
118 const std::string& operation,
119 const std::string& component,
120 const std::map<std::string, std::string>& args = {})
121 {
122 process::dispatch(
123 process.get(),
124 &PendingFutureTrackerProcess::addFuture<T>,
125 future,
126 FutureMetadata{operation, component, args});
127
128 return future;
129 }
130
131 /**
132 * This method returns a list of pending futures represented as objects of

Callers 12

TEST_FFunction · 0.80
recoverMethod · 0.80
prepareMethod · 0.80
isolateMethod · 0.80
updateMethod · 0.80
usageMethod · 0.80
statusMethod · 0.80
cleanupMethod · 0.80
recoverMethod · 0.80
forkMethod · 0.80
destroyMethod · 0.80
statusMethod · 0.80

Calls 2

dispatchFunction · 0.50
getMethod · 0.45

Tested by 1

TEST_FFunction · 0.64