| 1945 | int64_t getCountUsed() const { return evictionOrder.size() + movedOutCount; } |
| 1946 | int64_t getCountMoved() const { return movedOutCount; } |
| 1947 | int64_t getSizeUsed() const { return sizeUsed + reservedSize; } |
| 1948 | |
| 1949 | // Only to be used in tests at a point where all ObjectCache instances should be destroyed. |
| 1950 | bool empty() const { return reservedSize == 0 && sizeUsed == 0 && getCountUsed() == 0; } |
no outgoing calls
no test coverage detected