-
Notifications
You must be signed in to change notification settings - Fork 1k
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
[UNDERTOW-2010] Add invalidate() to caching manager #1487
base: main
Are you sure you want to change the base?
Conversation
caede6c
to
aca6621
Compare
@@ -172,6 +172,18 @@ public void clear() { | |||
accessQueue.clear(); | |||
} | |||
|
|||
public Set<K> keys(){ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There's a keySet() method defined already serving the same purpose.
Further more it properly makes returned keys read only.
We should remove this keys() method.
core/src/main/java/io/undertow/server/handlers/resource/CachingResourceManager.java
Outdated
Show resolved
Hide resolved
core/src/main/java/io/undertow/server/handlers/resource/CachingResourceManager.java
Outdated
Show resolved
Hide resolved
core/src/main/java/io/undertow/server/handlers/resource/CachingResourceManager.java
Show resolved
Hide resolved
aca6621
to
40663d3
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good job @baranowb !
Issue: https://issues.redhat.com/browse/UNDERTOW-2010