Skip to content
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

CacheAspectSupport should iterate all caches which cache manger holds [SPR-16330] #20877

Closed
spring-projects-issues opened this issue Dec 28, 2017 · 2 comments
Assignees
Labels
in: core status: invalid

Comments

@spring-projects-issues
Copy link
Collaborator

@spring-projects-issues spring-projects-issues commented Dec 28, 2017

abdushkur ablimit opened SPR-16330 and commented

I have two level cache EhCache and Memcache, I add two cache implements to CacheManager , what I want is if the Object doesn't exist in EhCache it should get it from Memcache ,if Memcache doesn't have it then should invoke method , I see source file , it only get the first Cache, then invoked the method.
Cache cache = context.getCaches().iterator().next();


Affects: 4.3.8

Attachments:

@spring-projects-issues
Copy link
Collaborator Author

@spring-projects-issues spring-projects-issues commented Dec 28, 2017

abdushkur ablimit commented

sorry did not see the findCachedItem method

@spring-projects-issues
Copy link
Collaborator Author

@spring-projects-issues spring-projects-issues commented Dec 29, 2017

Stéphane Nicoll commented

Please consider asking questions on StackOverflow in the future. Thanks!

@spring-projects-issues spring-projects-issues added status: invalid type: enhancement in: core labels Jan 11, 2019
@spring-projects-issues spring-projects-issues removed the type: enhancement label Jan 12, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
in: core status: invalid
Projects
None yet
Development

No branches or pull requests

2 participants