Redis: Support non-native expiration when reading traces

This commit is contained in:
Tim Wojtulewicz 2024-12-20 14:07:10 -07:00
parent 08bebaa426
commit ea87c773cd
4 changed files with 132 additions and 1 deletions

View file

@ -58,6 +58,12 @@ public:
*/
ErrorResult DoErase(ValPtr key, ErrorResultCallback* cb = nullptr) override;
/**
* Removes any entries in the backend that have expired. Can be overridden by
* derived classes.
*/
void Expire() override;
// IOSource interface
double GetNextTimeout() override { return -1; }
void Process() override {}