CacheTower
CacheTower copied to clipboard
CacheStack protected accessors
Hello,
Can we possibly change CacheStack private accessors to protected?
I was thinking of being able to override "InternalSetAsync" with
if (!await layer.IsAvailableAsync(cacheKey)) throw new RedisConnectionException(ConnectionFailureType.UnableToConnect, "Layer is not Available");
in order to avoid waiting for a timeout and instead throw or possibly handling the unavailability of the cache.
I could possibly clone it , however being able to override seemed a better option to me.