org.ogf.saga.monitoring
Interface Callback


public interface Callback

Asynchronous handler for metric changes.


Method Summary
 boolean cb(Monitorable mt, Metric metric, Context ctx)
          Asynchronous handler for metric changes.
 

Method Detail

cb

boolean cb(Monitorable mt,
           Metric metric,
           Context ctx)
           throws NotImplementedException,
                  AuthorizationFailedException
Asynchronous handler for metric changes.

Parameters:
mt - the SAGA Monitorable object which causes the callback invocation.
metric - the metric causing the callback invocation.
ctx - the context associated with the callback causing entity.
Returns:
whether the callback stays registered.
Throws:
NotImplementedException - is thrown if the implementation does not provide an implementation of this method.
AuthorizationFailedException - is thrown when the cb method decides not to authorize this particular invocation.


Copyright © 2014 Open Grid Forum. All rights reserved.