|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.endeca.infront.assembler.perf.TimeSummary
public class TimeSummary
An implementation of EventSummary that aggregates the time recorded by one or more TimeEvents.
| Nested Class Summary | |
|---|---|
static class |
TimeSummary.MinMaxTotalSummary
A convenience wrapper class to store the total, min, and max time. |
| Field Summary | |
|---|---|
TimeSummary.MinMaxTotalSummary |
all
All the inclusive (descendant and self) time recorded |
int |
count
The number of invocations recorded for this summary |
TimeSummary.MinMaxTotalSummary |
local
All the local (non-descendant) time recorded |
| Constructor Summary | |
|---|---|
TimeSummary(long local,
long all)
Constructs a summary over a single invocation. |
|
TimeSummary(long local,
long all,
int count)
Constructs a summary over a single invocation. |
|
| Method Summary | |
|---|---|
EventSummary |
combineWith(EventSummary other)
Aggregate this summary with another. |
void |
serialize(StringBuilder builder)
Serializes this summary into a human-readable string. |
String |
toString()
Returns a human-readable representation of this summary. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public final int count
public final TimeSummary.MinMaxTotalSummary local
public final TimeSummary.MinMaxTotalSummary all
| Constructor Detail |
|---|
public TimeSummary(long local,
long all)
combineWith(EventSummary).
local - the time not covered by descendants of this eventall - all the time under this event
public TimeSummary(long local,
long all,
int count)
combineWith(EventSummary).
local - the time not covered by descendants of this eventall - all the time under this eventcount - the number of invocations of this event| Method Detail |
|---|
public EventSummary combineWith(EventSummary other)
EventSummaryEventSummary must
be of the same concrete type.
combineWith in interface EventSummaryother - a summary to combine with
public String toString()
toString in class Objectpublic void serialize(StringBuilder builder)
EventSummary
serialize in interface EventSummarybuilder - the buffer to serialize to
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||