Counters can be atomically incremented (http://wiki.apache.org/cassandra/Counters). Pick a UUID for the counter, and use that: c=map.get(k); c.incr()


On 6 August 2013 11:01, Jan Algermissen <jan.algermissen@nordsc.com> wrote:

On 06.08.2013, at 11:36, Andy Twigg <andy.twigg@gmail.com> wrote:

> Store pointers to counters as map values?

Sorry, but this fits into nothing I know about C* so far - can you explain?

Jan




--
Dr Andy Twigg
Junior Research Fellow, St Johns College, Oxford
Room 351, Department of Computer Science
http://www.cs.ox.ac.uk/people/andy.twigg/
andy.twigg@cs.ox.ac.uk | +447799647538