|
Eclipse Platform Release 3.1 |
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.core.runtime.PerformanceStats.PerformanceListener
A performance listener is periodically notified after performance events occur or after events fail.
This class is intended to be subclassed.
PerformanceStats.addListener(PerformanceStats.PerformanceListener)
Constructor Summary | |
---|---|
protected |
PerformanceStats.PerformanceListener()
Creates a new listener. |
Method Summary | |
---|---|
void |
eventFailed(PerformanceStats event,
long duration)
Notifies than an event exceeded the maximum duration for that event type. |
void |
eventsOccurred(PerformanceStats[] event)
Notifies that an event occurred. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
protected PerformanceStats.PerformanceListener()
Method Detail |
public void eventFailed(PerformanceStats event, long duration)
This default implementation does nothing. Subclasses may override.
event
- The event that failedduration
- The duration of the failed event, in millisecondspublic void eventsOccurred(PerformanceStats[] event)
This default implementation does nothing. Subclasses may override.
event
- The event that occurred
|
Eclipse Platform Release 3.1 |
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Guidelines for using Eclipse APIs.
Copyright (c) IBM Corp. and others 2000, 2005. All rights reserved.