[infinispan-dev] Exposing Configuration through JMX (ISPN-5340)

Sebastian Laskawiec slaskawi at redhat.com
Mon Aug 10 06:24:34 EDT 2015


Some parts of the configuration are mutable (see Attribute#isImmutable) and
you may also attach a listener (Attribute#addListener) and get notified
once they are modified.

Thanks
Sebastian

On Mon, Aug 10, 2015 at 12:13 PM, Radim Vansa <rvansa at redhat.com> wrote:

> Isn't the Configuration instance meant to be immutable? IIUC you aim at
> changing the Configuration instance directly. However, it seems to me
> that you should rather prepare new ConfigurationBuilder and add a method
> that will apply the overrides (only modified properties), creating new
> Configuration instance.
>
> Radim
>
> On 08/10/2015 11:37 AM, Sebastian Laskawiec wrote:
> > Hey!
> >
> > I'm working on ISPN-5340 [1] (exposing Cache Configuration through JMX).
> >
> > Before diving into the code I prepared a really short design doc which
> > describes how I would like to implement it.
> >
> > Please have a look at it [2] and share your thoughts.
> >
> > Thanks
> > Sebastian
> >
> > [1] https://issues.jboss.org/browse/ISPN-5340
> > [2]
> >
> https://github.com/infinispan/infinispan/wiki/Dynamic-JMX-exposer-for-Configuration
> >
> >
> > _______________________________________________
> > infinispan-dev mailing list
> > infinispan-dev at lists.jboss.org
> > https://lists.jboss.org/mailman/listinfo/infinispan-dev
>
>
> --
> Radim Vansa <rvansa at redhat.com>
> JBoss Performance Team
>
> _______________________________________________
> infinispan-dev mailing list
> infinispan-dev at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/infinispan-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/infinispan-dev/attachments/20150810/1d72f416/attachment-0001.html 


More information about the infinispan-dev mailing list