public abstract static class PerformanceStats.PerformanceListener extends Object
This class is intended to be subclassed.
Modifier | Constructor and Description |
---|---|
protected |
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.
|
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
Copyright (c) 2000, 2015 Eclipse Contributors and others. All rights reserved.Guidelines for using Eclipse APIs.