public abstract static class PerformanceStats.PerformanceListener extends Object
This class is intended to be subclassed.
| Modifier | Constructor and Description |
|---|---|
protected |
PerformanceStats.PerformanceListener()
Creates a new listener.
|
| Modifier and Type | Method and Description |
|---|---|
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.
|
protected PerformanceStats.PerformanceListener()
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 occurredGuidelines for using Eclipse APIs. Copyright (c) IBM Corp. and others 2000, 2006. All rights reserved.