From: "Sanne Grinovero" <sanne(a)infinispan.org>
To: "infinispan -Dev List" <infinispan-dev(a)lists.jboss.org>
Sent: Thursday, June 28, 2012 5:07:25 PM
Subject: Re: [infinispan-dev] singleton @Listeners
And I guess there must be strong guarantees that a listener is
actually invoked?
On 28 June 2012 16:26, Mircea Markus <mmarkus(a)redhat.com> wrote:
> This is a problem that pops up constantly:
> User: "I add a listener to my distributed/replicated cache but
> this gets invoked numOwners times - can I make that to be invoked
> only once cluster wise?"
> Developer: "Yes, you can! You have to do that and that..."
>
> What about a "singleton" attribute on the Listener? Would make the
> reply shorter:
> Developer: "Use @Listener(singleton=true)"
>
> Cheers,
> Mircea
>
> _______________________________________________
> infinispan-dev mailing list
> infinispan-dev(a)lists.jboss.org
>
https://lists.jboss.org/mailman/listinfo/infinispan-dev
_______________________________________________
infinispan-dev mailing list
infinispan-dev(a)lists.jboss.org
https://lists.jboss.org/mailman/listinfo/infinispan-dev