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

Method moveToBack

fdbserver/VersionedBTree.actor.cpp:1874–1877  ·  view source on GitHub ↗

Move an entry to the back of the eviction order if it is in the eviction order

Source from the content-addressed store, hash-verified

1872
1873 // Move an entry to the back of the eviction order if it is in the eviction order
1874 void moveToBack(Entry& e) {
1875 ASSERT(e.ownedByEvictor);
1876 evictionOrder.splice(evictionOrder.end(), evictionOrder, EvictionOrderT::s_iterator_to(e));
1877 }
1878
1879 // Move entire contents of an external eviction order containing entries whose size is part of
1880 // this Evictor to the front of its eviction order.

Callers 1

ObjectCacheClass · 0.80

Calls 1

endMethod · 0.45

Tested by

no test coverage detected