check whether an object in a cache. Not update metadata
| 35 | virtual bool lookup(const SimpleRequest &req) = 0; |
| 36 | // check whether an object in a cache. Not update metadata |
| 37 | virtual bool exist(const int64_t &key) { |
| 38 | throw runtime_error("Error: exist() function not implemented"); |
| 39 | } |
| 40 | |
| 41 | virtual void admit(const SimpleRequest &req) = 0; |
| 42 |