GridLab
Grid Application Toolkit

A simple API for Grid Applications
GAT

Menu



Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members  

MetricListener.java

Go to the documentation of this file.
00001 package org.gridlab.gat.monitoring;
00002 /**
00003  * This is language dependent, and represents either a listener object
00004  * with the method defined below or a callback function with a signature
00005  * compatible with the ProcessMetricEvent method defined below, depending
00006  * on the languages normal callback functionality.
00007  * <p>
00008  * This interface allows instances of classes which implement this
00009  * interface to receive MetricEvents from instances which are sources of
00010  * MetricEvents.
00011  */
00012 public interface MetricListener {
00013   /**
00014    * An instance of a class implementing this interface receives MetricEvents 
00015    * through calls to this method when it is registered to receive such events.
00016    *
00017    * @param metricEvent The MetricEvent which triggered this method call
00018    */
00019   public void ProcessMetricEvent(MetricEvent metricEvent);
00020 }