Package org.apache.geronimo.monitoring.snapshot

Examples of org.apache.geronimo.monitoring.snapshot.SnapshotThread


     */
    public boolean startSnapshot(Long interval, Integer retention) {
        if((snapshotThread == null || (snapshotThread != null && (snapshotThread.SnapshotStatus() == 0))) && interval.longValue() > 0) {
            saveDuration(interval.longValue());
            saveRetention(retention.intValue());
            snapshotThread = new SnapshotThread(interval.longValue(), mbServer);
            snapshotThread.start();
            log.info("Snapshot thread successfully created.");
            return true;
        } else {
            log.warn("There is already a snapshot thread running.");
View Full Code Here


     */
    public boolean startSnapshot(Long interval, Integer retention) {
        if((snapshotThread == null || (snapshotThread != null && (snapshotThread.SnapshotStatus() == 0))) && interval.longValue() > 0) {
            saveDuration(interval.longValue());
            saveRetention(retention.intValue());
            snapshotThread = new SnapshotThread(interval.longValue(), mbServer);
            snapshotThread.start();
            log.info("Snapshot thread successfully created.");
            return true;
        } else {
            log.warn("There is already a snapshot thread running.");
View Full Code Here

     */
    public boolean startSnapshot(Long interval, Integer retention) {
        if((snapshotThread == null || (snapshotThread != null && (snapshotThread.SnapshotStatus() == 0))) && interval.longValue() > 0) {
            saveDuration(interval.longValue());
            saveRetention(retention.intValue());
            snapshotThread = new SnapshotThread(interval.longValue(), mbServer);
            snapshotThread.start();
            log.info("Snapshot thread successfully created.");
            return true;
        } else {
            log.warn("There is already a snapshot thread running.");
View Full Code Here

    public boolean startSnapshot(Long interval, Integer retention) {
        if((snapshotThread == null || (snapshotThread != null && (snapshotThread.SnapshotStatus() == 0))) && interval.longValue() > 0) {
            saveDuration(interval.longValue());
            saveRetention(retention.intValue());     
            saveSnapshotThreadStatus(true);
            snapshotThread = new SnapshotThread(interval.longValue(), mbServer);
            snapshotThread.setName("JMX Monitoring Agent Snapshot Thread");
            snapshotThread.start();

            log.info("Snapshot thread successfully created.");
            return true;
View Full Code Here

TOP

Related Classes of org.apache.geronimo.monitoring.snapshot.SnapshotThread

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.