CacheTower icon indicating copy to clipboard operation
CacheTower copied to clipboard

CacheStack protected accessors

Open SteliosKornelakis opened this issue 2 years ago • 0 comments

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.

SteliosKornelakis avatar Nov 07 '23 21:11 SteliosKornelakis