jsr107 / jsr107spec

JSR107 Cache Specification
Apache License 2.0
413 stars 164 forks source link

Add support for `compute...` convenience methods available in Map since Java 1.8 #418

Open sergproua opened 1 year ago

sergproua commented 1 year ago

Please add compute, computeIfAbsent and computeIfPresent convenience methods to Cache interface, exact spec as in Map available since Java 1.8

cruftex commented 1 year ago

The JSR107 is finalised years ago and in maintenance mode. It also targets Java 1.6. There needs to be a new standardisation effort to do this.

sergproua commented 1 year ago

The JSR107 is finalised years ago and in maintenance mode. It also targets Java 1.6. There needs to be a new standardisation effort to do this.

Would are the next steps, if any, to start new standardization effort? Thanks!

tristantarrant commented 1 year ago

JCache itself would have to be abandoned completely, as it contains IP from some of the original partners and also falls under the now-forbidden javax namespace. There are two avenues for an equivalent effort: within Microprofile or within JakartaEE.

linghengqian commented 9 months ago

Would are the next steps, if any, to start new standardization effort? Thanks!