ca.intelliware.amakihi.actor.http
Class HttpRequestMeasurer

java.lang.Object
  |
  +--ca.intelliware.amakihi.actor.http.HttpRequestMeasurer

public abstract class HttpRequestMeasurer
extends java.lang.Object

An abstract class that wraps some logic related to performance measurement around an HTTP request.

Version:
$Revision: 1.2 $
Author:
Intelliware Development

Field Summary
protected  PerformanceMeasure measure
           
protected  boolean shouldLog
           
 
Constructor Summary
HttpRequestMeasurer(java.lang.String tag, java.lang.String requestName, boolean shouldLog)
           
 
Method Summary
 java.lang.Object executeAndMeasureRequest()
           
protected abstract  java.lang.Object performHttpRequest()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

measure

protected PerformanceMeasure measure

shouldLog

protected boolean shouldLog
Constructor Detail

HttpRequestMeasurer

public HttpRequestMeasurer(java.lang.String tag,
                           java.lang.String requestName,
                           boolean shouldLog)
Method Detail

performHttpRequest

protected abstract java.lang.Object performHttpRequest()
                                                throws java.io.IOException

executeAndMeasureRequest

public java.lang.Object executeAndMeasureRequest()
                                          throws java.io.IOException


Copyright 2002 Intelliware Development. All Rights Reserved.