Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Flush Cache Layers #130

Merged
merged 8 commits into from
Jan 24, 2021
Merged

Flush Cache Layers #130

merged 8 commits into from
Jan 24, 2021

Conversation

Turnerj
Copy link
Member

@Turnerj Turnerj commented Dec 2, 2020

Closes #121

This features is in two parts - the ability to flush cache layers through the cache stack and the ability to remotely flush other instances. This is a maintenance-based feature, not something that would be called in production scenarios unless someone knows what they are doing.

  • Cache layers support flushing
  • Cache stack flushes cache layers
  • Supports remote cache flushing
  • Test coverage for both cache layer flushing and remote cache flushing

@Turnerj Turnerj added the enhancement New feature or request label Dec 2, 2020
Uses a new interface to expose `FlushAsync` to hopefully avoid people using it when they didn't intend to.

Additionally wires up the `ICacheChangeExtension` to have a flush event method.
It has relatively low overhead doing it this way plus the concepts are closely related.
@Turnerj Turnerj merged commit 203cbed into master Jan 24, 2021
@Turnerj Turnerj deleted the flush-caches branch January 24, 2021 06:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Feature Request : method to flush all caches
1 participant