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

Method __start

src/state/log.cpp:296–306  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

294
295
296Future<Nothing> LogStorageProcess::__start(
297 const Log::Position& beginning,
298 const Log::Position& position)
299{
300 CHECK_SOME(starting);
301
302 truncated = beginning; // Cache for future truncations.
303
304 return reader.read(beginning, position)
305 .then(defer(self(), &Self::apply, lambda::_1));
306}
307
308
309Future<Nothing> LogStorageProcess::apply(const list<Log::Entry>& entries)

Callers

nothing calls this directly

Calls 3

deferFunction · 0.85
thenMethod · 0.45
readMethod · 0.45

Tested by

no test coverage detected