org.ogf.saga.monitoring
Interface Callback
public interface Callback
Asynchronous handler for metric changes.
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.
The SAGA Java language bindings, version-1.1.1