Create FallbackCacheRepo.kt

This commit is contained in:
InsanusMokrassar 2023-01-30 23:54:32 +06:00 committed by GitHub
parent 2162e83bce
commit 428eabb1bd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -0,0 +1,7 @@
package dev.inmo.micro_utils.repos.cache
/**
* Any inheritor of this should work with next logic: try to take data from their original repo, if successful - save data to internal
* [dev.inmo.micro_utils.repos.cache.cache.FullKVCache] or try to take data from that internal cache
*/
interface FallbackCacheRepo : CacheRepo