Skip to content

CacheStack protected accessors #268

Description

@SteliosKornelakis

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions