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

Method initialize

src/log/catchup.cpp:196–206  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

194
195protected:
196 void initialize() override
197 {
198 // Stop when no one cares.
199 promise.future().onDiscard(lambda::bind(
200 static_cast<void(*)(const UPID&, bool)>(terminate), self(), true));
201
202 // Catch-up sequentially.
203 current = positions.lower();
204
205 catchup();
206 }
207
208 void finalize() override
209 {

Callers

nothing calls this directly

Calls 4

catchupFunction · 0.85
bindFunction · 0.50
futureMethod · 0.45
lowerMethod · 0.45

Tested by

no test coverage detected