org.smallmind.instrument
Class Register

java.lang.Object
  extended by org.smallmind.instrument.Register
All Implemented Interfaces:
Countable, Metric

public class Register
extends Object
implements Metric, Countable


Constructor Summary
Register()
           
Register(int initialCount)
           
 
Method Summary
 void clear()
           
 void dec()
           
 void dec(long n)
           
 long getCount()
           
 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

Register

public Register()

Register

public Register(int initialCount)
Method Detail

inc

public void inc()

inc

public void inc(long n)

dec

public void dec()

dec

public void dec(long n)

getCount

public long getCount()
Specified by:
getCount in interface Countable

clear

public void clear()


Copyright © 2012. All Rights Reserved.