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

Clearly explain MaxSizePolicy types for IMap and ICache in javadoc #7267

Closed
mdogan opened this issue Jan 7, 2016 · 0 comments

Comments

Projects
None yet
1 participant
@mdogan
Copy link
Member

commented Jan 7, 2016

Definitions of following max-size-policies defined in com.hazelcast.config.EvictionConfig.MaxSizePolicy and com.hazelcast.config.MaxSizeConfig.MaxSizePolicy are not clear and confusing.

USED_NATIVE_MEMORY_SIZE
USED_NATIVE_MEMORY_PERCENTAGE
FREE_NATIVE_MEMORY_SIZE
FREE_NATIVE_MEMORY_PERCENTAGE

According to implementation, USED_NATIVE_MEMORY_* ones apply to per map/cache used native memory. And FREE_NATIVE_MEMORY_* ones apply to per member (HazelcastInstance) free native memory. But this information is not visible in neither in javadoc nor in reference-manual.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.