net.wgen.op.logging
Class WebAppStats
java.lang.Object
net.wgen.op.logging.WebAppStats
- public class WebAppStats
- extends java.lang.Object
- Version:
- $Id: WebAppStats.html,v 1.2 2007/01/28 04:09:37 paulfeuer Exp $
- Author:
- Paul Feuer, Wireless Generation, Inc.
|
Nested Class Summary |
protected static class |
WebAppStats.DBCallRecord
Helper class for reusing methods that are carring the same in formation from disparate
places. |
|
Constructor Summary |
private |
WebAppStats()
Private, no-arg constructor to limit creation to singleton accessor. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
REQ_WARN_THRESH_CX
private static final int REQ_WARN_THRESH_CX
- See Also:
- Constant Field Values
REQ_WARN_THRESH_TOTAL_CALLS
private static final int REQ_WARN_THRESH_TOTAL_CALLS
- See Also:
- Constant Field Values
REQ_WARN_THRESH_TOTAL_OPS
private static final int REQ_WARN_THRESH_TOTAL_OPS
- See Also:
- Constant Field Values
REQ_WARN_THRESH_TOTAL_MS
private static final int REQ_WARN_THRESH_TOTAL_MS
- See Also:
- Constant Field Values
REQ_WARN_THRESH_TOTAL_DB
private static final int REQ_WARN_THRESH_TOTAL_DB
- See Also:
- Constant Field Values
DB_WARN_THRESH_ROW_COUNT
private static final int DB_WARN_THRESH_ROW_COUNT
- See Also:
- Constant Field Values
DB_WARN_THRESH_TOTAL_DB
private static final int DB_WARN_THRESH_TOTAL_DB
- See Also:
- Constant Field Values
LOG
private static org.apache.log4j.Logger LOG
SKIP_LIST
private static final java.util.List SKIP_LIST
DELIMITER
public static final java.lang.String DELIMITER
- See Also:
- Constant Field Values
SDF
public static final java.text.SimpleDateFormat SDF
TAG_REQ
public static final java.lang.String TAG_REQ
- See Also:
- Constant Field Values
TAG_TMP
public static final java.lang.String TAG_TMP
- See Also:
- Constant Field Values
TAG_DB
public static final java.lang.String TAG_DB
- See Also:
- Constant Field Values
TAG_DBU
public static final java.lang.String TAG_DBU
- See Also:
- Constant Field Values
_self
private static WebAppStats _self
- The Singleton instance of the class.
WebAppStats
private WebAppStats()
- Private, no-arg constructor to limit creation to singleton accessor.
getInstance
public static WebAppStats getInstance()
- Singleton accessor.
getSkipList
public java.util.List getSkipList()
logRequestCompletion
public void logRequestCompletion(TraceKey traceKey)
- Parameters:
traceKey -
logCall
public void logCall(java.lang.String tag,
DatabaseCall call)
- Parameters:
tag - call -
logCall
private static void logCall(WebAppStats.DBCallRecord rec)
- Parameters:
rec -