Public Member Functions | |
bool | interestedIn (Cache *cache) |
void | addInterest (Cache *cache) |
~InterestRatchet () | |
If you create one of these, and pass it to 'Interest' then it will remember which Iops it has previously called addInterest on, and not do re-do these, thus saving time as addInterest involves contention
Interests are removed again when the InterestRatchet is destroyed.
InterestRatchet::~InterestRatchet | ( | ) |
destructor for InterestRatchet, must call removeInterest on each of the Caches it is maintaining an interest count on
©2021 The Foundry Visionmongers, Ltd. All Rights Reserved. |