Home » geronimo-2.2-source-release » org.apache.geronimo.monitoring.snapshot » [javadoc | source]
org.apache.geronimo.monitoring.snapshot
public class: SnapshotProcessor [javadoc | source]
java.lang.Object
   org.apache.geronimo.monitoring.snapshot.SnapshotProcessor
Thread that is in charge of executing every x milliseconds. Upon each iteration, a snapshot of the server's information is recorded.
Method from org.apache.geronimo.monitoring.snapshot.SnapshotProcessor Summary:
ensureMonitorDir,   takeSnapshot
Methods from java.lang.Object:
clone,   equals,   finalize,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.apache.geronimo.monitoring.snapshot.SnapshotProcessor Detail:
 public static  void ensureMonitorDir() 
    Checks to see if the GERONIMO_HOME/var/monitoring/ directory was made. If not, the method creates it.
 public static  void takeSnapshot(MasterRemoteControl mrc) 
    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.