Follow Techotopia on Twitter

On-line Guides
All Guides
eBook Store
iOS / Android
Linux for Beginners
Office Productivity
Linux Installation
Linux Security
Linux Utilities
Linux Virtualization
Linux Kernel
System/Network Admin
Programming
Scripting Languages
Development Tools
Web Development
GUI Toolkits/Desktop
Databases
Mail Systems
openSolaris
Eclipse Documentation
Techotopia.com
Virtuatopia.com
Answertopia.com

How To Guides
Virtualization
General System Admin
Linux Security
Linux Filesystems
Web Servers
Graphics & Desktop
PC Hardware
Windows
Problem Solutions
Privacy Policy

  




 

 


Eclipse Platform
Release 3.5

org.eclipse.core.runtime
Class PerformanceStats.PerformanceListener


java.lang.Object
  extended by 
org.eclipse.core.runtime.PerformanceStats.PerformanceListener
Enclosing class:
PerformanceStats

public abstract static class PerformanceStats.PerformanceListener
extends Object

A performance listener is periodically notified after performance events occur or after events fail.

This class is intended to be subclassed.

See Also:
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

PerformanceStats.PerformanceListener

protected PerformanceStats.PerformanceListener()
Creates a new listener.

Method Detail

eventFailed

public void eventFailed(
PerformanceStats event,
                        long duration)
Notifies than an event exceeded the maximum duration for that event type.

This default implementation does nothing. Subclasses may override.

Parameters:
event - The event that failed
duration - The duration of the failed event, in milliseconds

eventsOccurred

public void eventsOccurred(
PerformanceStats[] event)
Notifies that an event occurred. Notification might not occur in the same thread or near the time of the actual event.

This default implementation does nothing. Subclasses may override.

Parameters:
event - The event that occurred

Eclipse Platform
Release 3.5

Guidelines for using Eclipse APIs.

Copyright (c) Eclipse contributors and others 2000, 2008. All rights reserved.


 
 
  Published under the terms of the Eclipse Public License Version 1.0 ("EPL") Design by Interspire