Package org.ow2.joram.monitoring
Class Monitoring
- java.lang.Object
-
- org.ow2.joram.monitoring.Monitoring
-
public class Monitoring extends Object
-
-
Field Summary
Fields Modifier and Type Field Description private static MonitoringTimerTaskfileMonitoringTimerTaskstatic Loggerloggerprivate static MonitoringTimerTasklogMonitoringTimerTaskstatic StringresultPathprivate static TimertimerTimer provided by the monitoring.private static MonitoringTimerTaskwindowMonitoringTimerTask
-
Constructor Summary
Constructors Constructor Description Monitoring()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static TimergetTimer()Returns a shared timer provided by the monitoring service.static voidinit()Method called by Activator to initialize the monitoring service.static voidstop()Forces this thread to stop executing.
-
-
-
Field Detail
-
logger
public static final Logger logger
-
fileMonitoringTimerTask
private static MonitoringTimerTask fileMonitoringTimerTask
-
logMonitoringTimerTask
private static MonitoringTimerTask logMonitoringTimerTask
-
windowMonitoringTimerTask
private static MonitoringTimerTask windowMonitoringTimerTask
-
resultPath
public static String resultPath
-
timer
private static Timer timer
Timer provided by the monitoring.
-
-
Method Detail
-
init
public static void init() throws ExceptionMethod called by Activator to initialize the monitoring service.- Throws:
Exception
-
stop
public static void stop() throws ExceptionForces this thread to stop executing. This method stops all consumers and services.- Throws:
Exception
-
getTimer
public static final Timer getTimer()
Returns a shared timer provided by the monitoring service.
-
-