Skip to content

@CacheEvict should allow multiple key values [SPR-10958] #15586

@spring-projects-issues

Description

@spring-projects-issues

Ashot Golovenko opened SPR-10958 and commented

Currently you can evict only one or all elements in a single cache region.
Allowing something like

@CacheEvict(value = "userCache", key = {"key1", "key2"})

would be really handful.


Affects: 3.2.4

12 votes, 14 watchers

Metadata

Metadata

Assignees

Labels

has: votes-jiraIssues migrated from JIRA with more than 10 votes at the time of importin: coreIssues in core modules (aop, beans, core, context, expression)status: declinedA suggestion or change that we don't feel we should currently applytype: enhancementA general enhancement

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions