[infinispan-dev] Data container resizing
Galder Zamarreño
galder at redhat.com
Thu Oct 8 06:49:51 EDT 2015
--
Galder Zamarreño
Infinispan, Red Hat
> On 5 Oct 2015, at 09:36, Tristan Tarrant <ttarrant at redhat.com> wrote:
>
>
> Hi all,
> Sebastian recently added BCHMV8 resizing and I'm now hooking it up to configuratiombean jmx and server. I wanted your opinion on some details.
>
> - configuration: easy, register a listener with the attribute so that invoking configuration.eviction().size (newSize) does a resize of the data container
> - server already exposes the size in the management model, we just need to change its behaviour so that the change is "live". In this context the change is also persisted to the xml configuration
> - Jmx: do we want a writable "capacity" attribute or a resize operation? And do we want it on the cache mbean or on a new data container mbean? And should the change affect the configuration object too, i.e. invoking configuration.eviction().size () should return the new value? For symmetry with server we should.
I'd add it to the cache mbean.
My first impression is that the configured value should change too.
Cheers,
>
> Tristan
>
> --
> Tristan Tarrant
> Infinispan Lead
> JBoss a division of Red Hat
> _______________________________________________
> infinispan-dev mailing list
> infinispan-dev at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/infinispan-dev
More information about the infinispan-dev
mailing list