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-issuemaster opened this issue Dec 28, 2017 · 2 comments
Assignees

Comments

@spring-issuemaster
Copy link
Collaborator

@spring-issuemaster spring-issuemaster 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-issuemaster
Copy link
Collaborator Author

@spring-issuemaster spring-issuemaster commented Dec 28, 2017

abdushkur ablimit commented

sorry did not see the findCachedItem method

@spring-issuemaster
Copy link
Collaborator Author

@spring-issuemaster spring-issuemaster commented Dec 29, 2017

Stéphane Nicoll commented

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
2 participants
You can’t perform that action at this time.