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. |
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 contextservice - The serviceimplementationClass - The current fully qualified class name of the called classmethod - The called methodaccessTime - The access time (start time) of the eventconsumedTime - The final running time estimateresult - A final result string, such as OK or FAILED: REASON=...user - The calling user