org.apache.geronimo.monitoring.snapshot
Class SnapshotProcessor
java.lang.Object
org.apache.geronimo.monitoring.snapshot.SnapshotProcessor
public class SnapshotProcessor
- extends Object
Thread that is in charge of executing every x milliseconds. Upon each
iteration, a snapshot of the server's information is recorded.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SnapshotProcessor
public SnapshotProcessor()
takeSnapshot
public static void takeSnapshot(String username,
String password)
- Collects JSR-77 statistics for all mbeans that have been chosen to
be monitored and stores it in a DB. Will also, archive snapshots
if they have passed their retention period.
- Parameters:
username
- password
-
ensureMonitorDir
public static void ensureMonitorDir()
- Checks to see if the GERONIMO_HOME/var/monitoring/ directory was made.
If not, the method creates it.
getMRC
public static MasterRemoteControlLocal getMRC(String username,
String password)
- Returns:
- An instance of a MRC.
Copyright © 2003-2008 The Apache Geronimo development community. All Rights Reserved.