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

NEW: Hazelcast supports near cache #19

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

rPraml
Copy link

@rPraml rPraml commented Jan 17, 2023

Hello @rbygrave,

according to documentation https://ebean.io/docs/features/l2cache/

Ebean L2 bean caches for Redis, Hazelcast and Ignite all have a Near cache option. When this is enabled then there is a local in-process cache that is used and hit first, and then only if there is a miss on the near cache does the request go to the remote Redis | Hazelcast | Ignite cache.
could you please review this PR:

should Hazelcast support "near cache", but I could not find any code, where this should happen.

(I only found this in a test, but this makes also no sense, how @Cache(nearCache=true) should work)

So, could you check this PR, if this implementation would be acceptable?

I use the same logic for near caches as is already used for query caches

Roland

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

Successfully merging this pull request may close these issues.

1 participant