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

Method __start

src/log/log.cpp:562–573  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

560
561
562Option<Log::Position> LogWriterProcess::__start(
563 const Option<uint64_t>& position)
564{
565 if (position.isNone()) {
566 LOG(INFO) << "Could not start the writer, but can be retried";
567 return None();
568 }
569
570 LOG(INFO) << "Writer started with ending position " << position.get();
571
572 return Log::Position(position.get());
573}
574
575
576Future<Option<Log::Position>> LogWriterProcess::append(const string& bytes)

Callers

nothing calls this directly

Calls 4

NoneClass · 0.85
PositionClass · 0.50
isNoneMethod · 0.45
getMethod · 0.45

Tested by

no test coverage detected