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

ISPN 5836 Managed eviction size #3744

Conversation

tristantarrant
Copy link
Member

ISPN-5836 Expose eviction size modification through JMX and DMR
ISPN-5837 Deprecate eviction maxEntries configuration
ISPN-5340 Add a Configuration MBean

https://issues.jboss.org/browse/ISPN-5836
https://issues.jboss.org/browse/ISPN-5837
https://issues.jboss.org/browse/ISPN-5340

@slaskawi
Copy link
Contributor

slaskawi commented Oct 7, 2015

The changes look OK to me but what about our plans for exposing the configuration over JMX dynamically (as mentioned in https://github.com/infinispan/infinispan/wiki/Dynamic-JMX-exposer-for-Configuration)?

@tristantarrant
Copy link
Member Author

That's the plan for the future (maybe even within the 8.1 scope). But I wanted a solution now because of https://bugzilla.redhat.com/show_bug.cgi?id=1238206

@slaskawi
Copy link
Contributor

slaskawi commented Oct 7, 2015

Ok. In that case 👍 from me.

@tristantarrant
Copy link
Member Author

I fixed the inconsistency: resize now throws the exception

@wburns
Copy link
Member

wburns commented Oct 13, 2015

Pulling..

@wburns
Copy link
Member

wburns commented Oct 13, 2015

Integrated into master, thanks @tristantarrant !

@wburns wburns closed this Oct 13, 2015
long size = (long)(1.0 + (long)initialCapacity / loadFactor);
int cap = (size >= (long)MAXIMUM_CAPACITY) ?
long size = (long)(1.0 + initialCapacity / loadFactor);
int cap = (size >= MAXIMUM_CAPACITY) ?
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@wburns Do we even need do keep this constructor around?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Probably not, tbh I just ignored the changes in this file since they seemed completely unnecessary but fine.

@tristantarrant tristantarrant deleted the ISPN-5836/managed_eviction_size branch March 11, 2016 13:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
4 participants