cgl.narada.performance
Interface PerformanceMeasurementListener

All Known Implementing Classes:
LinkImpl

public interface PerformanceMeasurementListener

Title: Description: Company:


Method Summary
 String getName()
          ------------------------------------------------------------------------ A unique name for this measurement listener.
 long getStatusInterval()
          ------------------------------------------------------------------------ The listener should return the interval by which performance is measured.
 void performanceMessagesAvailable(Vector data)
          ------------------------------------------------------------------------
 

Method Detail

performanceMessagesAvailable

void performanceMessagesAvailable(Vector data)
------------------------------------------------------------------------

Parameters:
data - A vector of ByteArrayOutputStreams containing performance measurement messages that should be sent. These messages should be sent immediately and in sequence to avoid errors in measurement. Each message should be sent out in 10 ms intervals to avoid buffering to some extent.

getStatusInterval

long getStatusInterval()
------------------------------------------------------------------------ The listener should return the interval by which performance is measured. Usually, the performanceMessagesAvailable will be invoked on this interval. The maximum resolution of updates is 1 second.


getName

String getName()
------------------------------------------------------------------------ A unique name for this measurement listener. Will be used for reply associated in PerformanceMeasurement.interpretResults().



For comments and suggestions please send e-mail to The NaradaBrokering Project
> /HTML>