at.gv.egiz.pdfas.performance
Class PerformanceCounter

java.lang.Object
  extended byat.gv.egiz.pdfas.performance.PerformanceCounter

public class PerformanceCounter
extends Object

Author:
wprinz

Field Summary
protected  long counter
           
protected  String name
           
 
Constructor Summary
PerformanceCounter(Class clazz)
           
PerformanceCounter(String name)
           
 
Method Summary
 long getCounter()
           
 String getName()
           
 void increment()
           
 void reset()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

name

protected String name

counter

protected long counter
Constructor Detail

PerformanceCounter

public PerformanceCounter(String name)

PerformanceCounter

public PerformanceCounter(Class clazz)
Method Detail

increment

public void increment()

reset

public void reset()

getName

public String getName()
Returns:
the name

getCounter

public long getCounter()
Returns:
the counter


Copyright © 2006-2010. All Rights Reserved.