com.endeca.infront.assembler.perf
Interface EventSummary

All Known Implementing Classes:
TimeSummary

public interface EventSummary

An interface which represents the summary of multiple Events. TimeSummary provides an implementation that tracks time spent in various parts of a request.


Method Summary
 EventSummary combineWith(EventSummary other)
          Aggregate this summary with another.
 void serialize(StringBuilder output)
          Serializes this summary into a human-readable string.
 

Method Detail

combineWith

EventSummary combineWith(EventSummary other)
Aggregate this summary with another. The passed EventSummary must be of the same concrete type.

Parameters:
other - a summary to combine with
Returns:
A summary which aggregates this summary with the other summary provided. Implementations must return new instances.

serialize

void serialize(StringBuilder output)
Serializes this summary into a human-readable string.

Parameters:
output - the buffer to serialize to


Copyright © 2012, Oracle and/or its affiliates. All rights reserved.