org.elasticsearch.common.util.concurrent.highscalelib
Class Counter

java.lang.Object
  extended by org.elasticsearch.common.util.concurrent.highscalelib.ConcurrentAutoTable
      extended by org.elasticsearch.common.util.concurrent.highscalelib.Counter
All Implemented Interfaces:
java.io.Serializable

public class Counter
extends ConcurrentAutoTable

A simple high-performance counter. Merely renames the extended org.cliffc.high_scale_lib.ConcurrentAutoTable class to be more obvious. org.cliffc.high_scale_lib.ConcurrentAutoTable already has a decent counting API.

Since:
1.5
See Also:
Serialized Form

Constructor Summary
Counter()
           
 
Method Summary
 
Methods inherited from class org.elasticsearch.common.util.concurrent.highscalelib.ConcurrentAutoTable
add, decrement, estimate_get, get, increment, internal_size, intValue, longValue, print, set, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Counter

public Counter()