Openwings API Documentation (v1.1)

net.openwings.availability
Interface PerformanceReportListener


public interface PerformanceReportListener

This interface describes a listener that may be registered with the AvailabilityMBean to receive periodic performance reports. A component may report performance for one or more of its capabilities, using domain-specific metrics.


Method Summary
 void reportPerformance(PerformanceReport[] reports)
          This method is used to deliver performance reports.
 

Method Detail

reportPerformance

public void reportPerformance(PerformanceReport[] reports)
                       throws java.rmi.RemoteException
This method is used to deliver performance reports. It is called by the AvailabilityMBean implementation at the interval requested in the AvailabilityMBean.addPerformanceReportListener() method.

Parameters:
reports - array of performance reports
Throws:
java.rmi.RemoteException - in the case of a network error.

Openwings API Documentation (v1.1)