MCPcopy Create free account
hub / github.com/XTXMarkets/ternfs / CatchupReader

Method CatchupReader

cpp/core/LogsDB.cpp:1244–1252  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1242class CatchupReader {
1243public:
1244 CatchupReader(LogsDBStats& stats, ReqResp& reqResp, LogMetadata& metadata, DataPartitions& data, ReplicaId replicaId, LogIdx lastRead) :
1245 _stats(stats),
1246 _reqResp(reqResp),
1247 _metadata(metadata),
1248 _data(data),
1249 _replicaId(replicaId),
1250 _lastRead(lastRead),
1251 _lastContinuousIdx(lastRead),
1252 _lastMissingIdx(lastRead) {}
1253
1254 LogIdx getLastContinuous() const {
1255 return _lastContinuousIdx;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected