Re: entyproccessor dont locking entry

2018-07-30 Thread vkulichenko
You're iterating through some collection of key-value pairs and then use value from that pair within the entry processor, which is incorrect. You should always use the one acquired via entry.getValue(); there. I would actually recommend you to create a separate class instead of using lambda for en

entyproccessor dont locking entry

2018-07-30 Thread sergey.dolinkov
there is next code: counters.forEach((key, value) -> { TaskTicketsCounter outCounter = taskTicketCounterCache.invoke(key, (entry, args) -> { TaskTicketsCounter counter = entry.getValue(); if (counter != null) { System.out.println(counter.get