All Downloads are FREE. Search and download functionalities are using the official Maven repository.

scouter.server.core.CoreRun.scala Maven / Gradle / Ivy

There is a newer version: 2.20.0
Show newest version
package scouter.server.core

import scouter.server.ShutdownManager
import scouter.util.IShutdown

object CoreRun {
    val MAX_QUE_SIZE = 10000;

    var running = true;
    def shutdown() {
        running = false;
    }
    ShutdownManager.add(new IShutdown() {
       override def shutdown() {
            running = false;
        }
    });
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy