Re: [External] : Re: Provide thread-safe and concurrent sequenced collections with insertion order?

2023-11-15 Thread Sebastian Fischer
used fairly recently to stay in the cache longer, while things that > haven't been used recently should tend to expire earlier. > > I'd suggest looking at some of these caching libraries. Or if you're keen > to roll your own, read some of the design documents. Which might c

Re: Provide thread-safe and concurrent sequenced collections with insertion order?

2023-11-10 Thread Sebastian Fischer
involve a lot of updates.) > > While it looks like things are missing from the concurrent collections, > I'd have to > ask what use cases would be satisfied by adding something like a > "concurrent > sequenced set" (or map) that wouldn't be fulfilled with a customi

Provide thread-safe and concurrent sequenced collections with insertion order?

2023-11-02 Thread Sebastian Fischer
Hello. I am new to this list so might have missed previous discussion about this but could not find what I was looking for in the archives. The Sequenced collections JEP adds the following static methods to java.util.Collections. - unmodifiableSequencedCollection - unmodifiableSequencedSet - unm