Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

org.activemq.perf
Class PerfRate  view PerfRate download PerfRate.java

java.lang.Object
  extended byorg.activemq.perf.PerfRate

public class PerfRate
extends java.lang.Object

Version:
$Revision: 1.3 $

Field Summary
protected  int count
           
protected  long startTime
           
protected  int totalCount
           
 
Constructor Summary
PerfRate()
           
 
Method Summary
 int getCount()
           
 int getRate()
           
 int getTotalCount()
           
 void increment()
           
 void setTotalCount(int totalCount)
           
 void start()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

totalCount

protected int totalCount

count

protected int count

startTime

protected long startTime
Constructor Detail

PerfRate

public PerfRate()
Method Detail

getCount

public int getCount()

increment

public void increment()

start

public void start()

getRate

public int getRate()

getTotalCount

public int getTotalCount()

setTotalCount

public void setTotalCount(int totalCount)