com.endeca.infront.assembler.perf
Interface Event

All Known Implementing Classes:
TimeEvent

public interface Event

An abstract interface that represents a performance event. TimeEvent provides a concrete implementation that most will want to use.


Method Summary
 EventSummary finished()
          Produce a summary of this event, for storage and further summarization.
 void resume(Event oldEvent)
          Resume this event; the old event is passed for reference.
 void suspend(Event newEvent)
          Suspend this event; the new event is passed for reference.
 

Method Detail

suspend

void suspend(Event newEvent)
Suspend this event; the new event is passed for reference.

Parameters:
newEvent - the new event that now covers the scope

resume

void resume(Event oldEvent)
Resume this event; the old event is passed for reference.

Parameters:
oldEvent - the old event that is now out of scope

finished

EventSummary finished()
Produce a summary of this event, for storage and further summarization.

Returns:
A summary of this scope.


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