| 69 | void RedisCache::ResetHitAndMissNum(void) { RcResetHitAndMissNum(); } |
| 70 | |
| 71 | Status RedisCache::Open(void) { |
| 72 | cache_ = RcCreateCacheHandle(); |
| 73 | if (nullptr == cache_) { |
| 74 | return Status::Corruption("RcCreateCacheHandle failed!"); |
| 75 | } |
| 76 | |
| 77 | return Status::OK(); |
| 78 | } |
| 79 | |
| 80 | int32_t RedisCache::ActiveExpireCycle(void) { return RcActiveExpireCycle(cache_); } |
| 81 |
no outgoing calls
no test coverage detected