|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.igfay.util.Metric
Capture metrics Creation date: (12/12/2001 9:35:23 AM)
Field Summary | |
static java.lang.String |
ACCEPTANCE_MANAGER
|
static java.lang.String |
BENCHMARK
|
static java.lang.String |
DB
|
static java.lang.String |
DEFAULT
|
static java.lang.String |
DOWNLOAD
|
static java.lang.String |
EVENT
|
static java.lang.String |
LOGIN
|
static java.lang.String |
NOTIFY_ACTION
|
static java.lang.String |
QUERY
|
static java.lang.String |
RULES_ENGINE
|
static java.lang.String |
UPLOAD
|
Constructor Summary | |
Metric()
Metric constructor comment. |
|
Metric(boolean isStart)
Metric constructor comment. |
|
Metric(java.lang.String groupName)
Metric constructor comment. |
|
Metric(java.lang.String groupName,
boolean isStart)
Metric constructor comment. |
|
Metric(java.lang.String groupName,
java.lang.String metricName)
Metric constructor comment. |
|
Metric(java.lang.String groupName,
java.lang.String metricName,
boolean isStart)
Metric constructor comment. |
|
Metric(java.lang.String groupName,
java.lang.String metricName,
boolean isStart,
boolean isDebugEnabled)
|
Method Summary | |
static void |
addToListForGroup(java.lang.String groupName,
Metric metric)
Insert the method's description here. |
void |
clear()
Insert the method's description here. |
void |
end()
Insert the method's description here. |
void |
endAndPrint()
|
long |
getElapsedTime()
Insert the method's description here. |
protected long |
getEndTime()
Insert the method's description here. |
java.lang.String |
getGroupName()
Insert the method's description here. |
static java.util.List |
getListForGroup(java.lang.String groupName)
Insert the method's description here. |
java.lang.String |
getMetricName()
Insert the method's description here. |
protected long |
getPauseElapsedTime()
Insert the method's description here. |
protected long |
getPauseStartTime()
Insert the method's description here. |
protected long |
getStartTime()
Insert the method's description here. |
protected boolean |
isDebugEnabled()
Returns the isDebugEnabled. |
static boolean |
isMetricLoggingEnabled()
Insert the method's description here. |
static void |
main(java.lang.String[] args)
Insert the method's description here. |
void |
pause()
Insert the method's description here. |
void |
print()
Insert the method's description here. |
static void |
printGroup(java.lang.String groupName)
Insert the method's description here. |
void |
resume()
Insert the method's description here. |
void |
setEndTime(long newEndTime)
Insert the method's description here. |
void |
setGroupName(java.lang.String newGroup)
Insert the method's description here. |
void |
setIsDebugEnabled(boolean isDebugEnabled)
Sets the isDebugEnabled. |
void |
setMetricName(java.lang.String newName)
Insert the method's description here. |
void |
setMetricNameFailed()
|
protected void |
setPauseElapsedTime(long newPauseElapsedTime)
Insert the method's description here. |
protected void |
setPauseStartTime(long newPauseStartTime)
Insert the method's description here. |
void |
setStartTime(long newStartTime)
Insert the method's description here. |
void |
start()
Insert the method's description here. |
void |
stop()
|
static void |
test()
Insert the method's description here. |
static void |
testIsDebugEnabled(Metric bruce4)
|
static void |
testSimple()
|
java.lang.String |
toString()
Insert the method's description here. |
java.lang.StringBuffer |
toStringBuffer()
Insert the method's description here. |
java.lang.String |
toStringLong()
Insert the method's description here. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
public static final java.lang.String DEFAULT
public static final java.lang.String BENCHMARK
public static final java.lang.String DB
public static final java.lang.String EVENT
public static final java.lang.String LOGIN
public static final java.lang.String QUERY
public static final java.lang.String DOWNLOAD
public static final java.lang.String UPLOAD
public static final java.lang.String ACCEPTANCE_MANAGER
public static final java.lang.String NOTIFY_ACTION
public static final java.lang.String RULES_ENGINE
Constructor Detail |
public Metric()
public Metric(java.lang.String groupName)
groupName
- Description of Parameterpublic Metric(java.lang.String groupName, java.lang.String metricName)
groupName
- Description of ParametermetricName
- Description of Parameterpublic Metric(java.lang.String groupName, java.lang.String metricName, boolean isStart)
groupName
- Description of ParametermetricName
- Description of ParameterisStart
- Description of Parameterpublic Metric(java.lang.String groupName, java.lang.String metricName, boolean isStart, boolean isDebugEnabled)
public Metric(java.lang.String groupName, boolean isStart)
groupName
- Description of ParameterisStart
- Description of Parameterpublic Metric(boolean isStart)
isStart
- Description of ParameterMethod Detail |
public static void addToListForGroup(java.lang.String groupName, Metric metric)
groupName
- The feature to be added to the ToListForGroup attributemetric
- The feature to be added to the ToListForGroup attributepublic static void main(java.lang.String[] args)
args
- java.lang.String[]public static void printGroup(java.lang.String groupName)
groupName
- Description of Parameterpublic static void test()
public static void testSimple()
public static void testIsDebugEnabled(Metric bruce4)
public static java.util.List getListForGroup(java.lang.String groupName)
groupName
- Description of Parameter
public static boolean isMetricLoggingEnabled()
public void clear()
public void end()
public void stop()
public void endAndPrint()
public void pause()
public void print()
public void resume()
public void start()
public java.lang.String toString()
public java.lang.StringBuffer toStringBuffer()
public java.lang.String toStringLong()
public java.lang.String getGroupName()
public java.lang.String getMetricName()
public long getElapsedTime()
protected long getEndTime()
protected long getPauseElapsedTime()
protected long getPauseStartTime()
protected long getStartTime()
public void setEndTime(long newEndTime)
newEndTime
- java.lang.Longpublic void setGroupName(java.lang.String newGroup)
newGroup
- java.lang.Stringpublic void setMetricName(java.lang.String newName)
newName
- java.lang.Stringpublic void setMetricNameFailed()
public void setStartTime(long newStartTime)
newStartTime
- java.lang.Longprotected void setPauseElapsedTime(long newPauseElapsedTime)
newPauseElapsedTime
- longprotected void setPauseStartTime(long newPauseStartTime)
newPauseStartTime
- longprotected boolean isDebugEnabled()
public void setIsDebugEnabled(boolean isDebugEnabled)
isDebugEnabled
- The isDebugEnabled to set
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |