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

How can i configure cache setting in hiberante-redis.properties #133

Open
tufgupmi opened this issue Mar 19, 2019 · 0 comments
Open

How can i configure cache setting in hiberante-redis.properties #133

tufgupmi opened this issue Mar 19, 2019 · 0 comments

Comments

@tufgupmi
Copy link

Hello,

How this settings from redisson can be configured in your hibernate-redis.properties ?

hibernate.cache.redisson.[REGION_NAME].eviction.max_entries - max size of cache. Superfluous entries in Redis are evicted using LRU algorithm. 0 value means unbounded cache. Default value: 0

hibernate.cache.redisson.[REGION_NAME].expiration.time_to_live - time to live per cache entry in Redis. Defined in milliseconds. 0 value means this setting doesn't affect expiration. Default value: 0

hibernate.cache.redisson.[REGION_NAME].expiration.max_idle_time - max idle time per cache entry in Redis. Defined in milliseconds. 0 value means this setting doesn't affect expiration. Default value: 0

Can you provide some example,? In the document there is only configuration for expiryInSeconds,... and i don't see in redisson any parameter called expiryInSeconds.

Thank you

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

No branches or pull requests

1 participant