org.apache.axis.utils
Class SybStats

java.lang.Object
  extended byorg.apache.axis.utils.SybStats
Direct Known Subclasses:
SybCollectionStats, SybServiceStats

public class SybStats
extends java.lang.Object

SybStats has the statistics for requests and enable time.


Constructor Summary
SybStats()
           
 
Method Summary
 void disableStats()
           
 void enableStats()
           
 long getAvgRequestTime()
           
 long getEnabledTime()
           
 long getLastRequestTime()
           
 long getLastRequestTimestamp()
           
 long getMaxRequestTime()
           
 long getMinRequestTime()
           
 long getTotalEnabledTime()
           
 long getTotalRequests()
           
 double getTotalRequestTime()
           
 void incRequest(long requestTime, long doneTime)
           
 boolean isEnabled()
           
 void resetStats()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SybStats

public SybStats()
Method Detail

getTotalRequests

public long getTotalRequests()

getMinRequestTime

public long getMinRequestTime()

getMaxRequestTime

public long getMaxRequestTime()

getLastRequestTime

public long getLastRequestTime()

getAvgRequestTime

public long getAvgRequestTime()

getTotalRequestTime

public double getTotalRequestTime()

getLastRequestTimestamp

public long getLastRequestTimestamp()

getEnabledTime

public long getEnabledTime()

getTotalEnabledTime

public long getTotalEnabledTime()

resetStats

public void resetStats()

enableStats

public void enableStats()

disableStats

public void disableStats()

isEnabled

public boolean isEnabled()

incRequest

public void incRequest(long requestTime,
                       long doneTime)
Parameters:
requestTime - The time the request came in milliseconds.


Copyright 2003 Apache Web Services Project. A ll Rights Reserved.