| 
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.jalios.jcms.tools.Profiler.RequestProfiler
public class Profiler.RequestProfiler
Store measures for a given request
| Constructor Summary | |
|---|---|
protected  | 
Profiler.RequestProfiler()
 | 
| Method Summary | |
|---|---|
 void | 
endMeasures(long measureOutputSize)
End measures of this request.  | 
 void | 
endMeasures(String id,
            long curOutputSize)
End measure for given id and add it to the measures of this request.  | 
 long | 
getConsumedMemory()
 | 
 long | 
getElapsedTime()
 | 
 HashMap | 
getMeasuresMap()
 | 
 long | 
getOutputSize()
 | 
 void | 
startMeasures()
Start measures of this request.  | 
 void | 
startMeasures(String id)
Start a new measure identified with the given id.  | 
| Methods inherited from class java.lang.Object | 
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Constructor Detail | 
|---|
protected Profiler.RequestProfiler()
| Method Detail | 
|---|
public void startMeasures()
public void startMeasures(String id)
id - the identification of this measure.
public void endMeasures(String id,
                        long curOutputSize)
id - the identification of this measure.curOutputSize - the size of the content that was outputted for this measurepublic void endMeasures(long measureOutputSize)
measureOutputSize - the size of the content that was outputted for this requestpublic long getConsumedMemory()
public long getElapsedTime()
public long getOutputSize()
public HashMap getMeasuresMap()
  | 
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||