Skip to content

CacheStack protected accessors #268

@SteliosKornelakis

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.

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