-
Notifications
You must be signed in to change notification settings - Fork 43
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
Missing redisService.memoizeObject() method #34
Comments
@mrnohr I want to make sure that I'm understanding what you're asking for. How I understand what you're saying is that you've got multiple distinct redis instances (so not clustered together) and you want to use the annotations (which by default just go at the "main" Alternatively, if the |
It felt like a miss to not have |
…Object Issue #34 service missing memoize object
Just for completion in the history, I'll answer @tednaleid 's questions. Yes, my intent was to have multiple redis instances and be able to use the memoizeObject method. This was so I could scale up to use different redis servers for different types of objects. Currently I am using the @MemoizeObject annotation, but with this change I can now switch to using the new memoizeObject method. This fix will be a big help! |
Looks good @tednaleid ! |
There is a @MemoizeObject annotation used to memoize simple (non-domain) classes. However, there is not a corresponding redisService.memoizeObject() method.
I really am looking for a way to memoize objects against different redis servers. I was hoping to be able to do something like:
An alternative would be to allow the redis server from the annotation.
The text was updated successfully, but these errors were encountered: