|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.sun.faban.driver.util.ContentSizeStats
public class ContentSizeStats
The ContentSizeStats collects the content size metrics for the FabanHTTPBench or othe standard Http drivers.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from interface com.sun.faban.driver.CustomMetrics |
|---|
CustomMetrics.Element |
| Field Summary | |
|---|---|
long[] |
sumContentSize
The sum of content sizes. |
| Constructor Summary | |
|---|---|
ContentSizeStats(int opCount)
Constructs the ContentSizeStats for the given number of operations. |
|
| Method Summary | |
|---|---|
void |
add(CustomMetrics other)
Aggregates the ContentSizeStats from another source or thread with the current one. |
Object |
clone()
The metrics need to be cloneable and not throw any exceptions. |
CustomMetrics.Element[] |
getResults()
Obtains the results of this ContentSizeStats as to be reported. |
| Methods inherited from class java.lang.Object |
|---|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public long[] sumContentSize
| Constructor Detail |
|---|
public ContentSizeStats(int opCount)
opCount - The number of operations.| Method Detail |
|---|
public void add(CustomMetrics other)
add in interface CustomMetricsother - The stats from another sourcepublic Object clone()
clone in interface CustomMetricsclone in class Objectpublic CustomMetrics.Element[] getResults()
getResults in interface CustomMetrics
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||