org.jwarp.service.system
Interface IMonitor


public interface IMonitor

This is the interface to be implemented by system monitors. System monitors are able to observe a monitorable activities and task. This can be usefule for system control or also for debugging purposes.

Version:
1.0
Author:
Anatole Tresch

Method Summary
 void monitorEvent(IContext context, IService service, java.lang.Class implementationClass, java.lang.String method, long accessTime, long consumedTime, java.lang.String result, ITicket user)
          This is the one and only method to be implemented by monitors.
 

Method Detail

monitorEvent

public void monitorEvent(IContext context,
                         IService service,
                         java.lang.Class implementationClass,
                         java.lang.String method,
                         long accessTime,
                         long consumedTime,
                         java.lang.String result,
                         ITicket user)
This is the one and only method to be implemented by monitors.
Parameters:
context - The context
service - The service
implementationClass - The current fully qualified class name of the called class
method - The called method
accessTime - The access time (start time) of the event
consumedTime - The final running time estimate
result - A final result string, such as OK or FAILED: REASON=...
user - The calling user

©   O R C A   S y s t e m s