Skip to content

Flush Cache Layers#130

Merged
Turnerj merged 8 commits intomasterfrom
flush-caches
Jan 24, 2021
Merged

Flush Cache Layers#130
Turnerj merged 8 commits intomasterfrom
flush-caches

Conversation

@Turnerj
Copy link
Copy Markdown
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