MCPcopy Create free account
hub / github.com/apple/foundationdb / setFile

Method setFile

fdbserver/DiskQueue.actor.cpp:262–265  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

260 File() : size(-1), popped(-1) {}
261
262 void setFile(Reference<IAsyncFile> f) {
263 this->f = f;
264 this->syncQueue = makeReference<SyncQueue>(1, f);
265 }
266 };
267 File files[2]; // After readFirstAndLastPages(), files[0] is logically before files[1] (pushes are always into
268 // files[1])

Callers 2

pushMethod · 0.80
openFilesMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected