Re: [infinispan-dev] Distributed Counter Discussion

2016-03-29 Thread Pedro Ruivo
== Status update == Hi all, The work in progress can be found in [1]. The main interface is: CompletableFuture addAndGet(long) The CompletableFuture will allow to cover a more use cases, for example, if you need to count the number of visits, you can increment without waiting it to

Re: [infinispan-dev] Distributed Counter Discussion

2016-03-29 Thread Tristan Tarrant
On 29/03/2016 10:12, Galder Zamarreño wrote: > Good start but rather than coming out with a general design for a counter, > I'd try to start coming out with functionality needed for the most commonly > use cases for counters, e.g. > > e.g. if you're counting number of visits to your website,

Re: [infinispan-dev] Distributed Counter Discussion

2016-03-29 Thread Galder Zamarreño
Good start but rather than coming out with a general design for a counter, I'd try to start coming out with functionality needed for the most commonly use cases for counters, e.g. e.g. if you're counting number of visits to your website, you only need an incrementing counter (and maybe a reset

[infinispan-dev] Should Tree module be deprecated?

2016-03-29 Thread Galder Zamarreño
Re: http://stackoverflow.com/questions/29673123/infinispan-treecache-not-getting-distributed-properly?noredirect=1#comment59906993_29673123 Cheers, -- Galder Zamarreño Infinispan, Red Hat ___ infinispan-dev mailing list infinispan-dev@lists.jboss.org