org.apache.cocoon.profiling.statistics
Class WSStatistics

java.lang.Object
  extended by org.apache.cocoon.profiling.statistics.WSStatistics
All Implemented Interfaces:
Statistics

public class WSStatistics
extends Object
implements Statistics

Since:
2.1.10
Version:
$Id: WSStatistics.html 1304258 2012-03-23 10:09:27Z ilgrosso $

Field Summary
protected  String category
           
protected  long duration
           
protected  String method
           
protected  String url
           
 
Constructor Summary
WSStatistics(String url, String method, long start)
           
 
Method Summary
 String getCategory()
          The category for the invocation.
 long getDuration()
          The duration of the invocation in milliseconds.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

category

protected String category

duration

protected long duration

url

protected String url

method

protected String method
Constructor Detail

WSStatistics

public WSStatistics(String url,
                    String method,
                    long start)
Method Detail

getDuration

public long getDuration()
Description copied from interface: Statistics
The duration of the invocation in milliseconds.

Specified by:
getDuration in interface Statistics
See Also:
Statistics.getDuration()

getCategory

public String getCategory()
Description copied from interface: Statistics
The category for the invocation.

Specified by:
getCategory in interface Statistics
See Also:
Statistics.getCategory()


Copyright © 1999-2010 The Apache Software Foundation. All Rights Reserved.