org.elasticsearch.common.metrics
Class CounterMetric

java.lang.Object
  extended by org.elasticsearch.common.metrics.CounterMetric
All Implemented Interfaces:
Metric

public class CounterMetric
extends Object
implements Metric


Constructor Summary
CounterMetric()
           
 
Method Summary
 long count()
           
 void dec()
           
 void dec(long n)
           
 void inc()
           
 void inc(long n)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CounterMetric

public CounterMetric()
Method Detail

inc

public void inc()

inc

public void inc(long n)

dec

public void dec()

dec

public void dec(long n)

count

public long count()


Copyright © 2009-2012. All Rights Reserved.