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(a)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-Con...
>
>
> _______________________________________________
> infinispan-dev mailing list
> infinispan-dev(a)lists.jboss.org
>
https://lists.jboss.org/mailman/listinfo/infinispan-dev
--
Radim Vansa <rvansa(a)redhat.com>
JBoss Performance Team
_______________________________________________
infinispan-dev mailing list
infinispan-dev(a)lists.jboss.org
https://lists.jboss.org/mailman/listinfo/infinispan-dev