Package net.grinder.SingleConsole

Examples of net.grinder.SingleConsole.ConsoleShutdownListener


    }

    // Run test
    perfTestService.markStatusAndProgress(perfTest, START_TESTING, "The test is ready to start.");
    // Add listener to detect abnormal condition and mark the perfTest
    singleConsole.addListener(new ConsoleShutdownListener() {
      @Override
      public void readyToStop(StopReason stopReason) {
        perfTestService.markAbnormalTermination(perfTest, stopReason);
        LOG.error("Abnormal test {} due to {}", perfTest.getId(), stopReason.name());
      }
View Full Code Here

TOP

Related Classes of net.grinder.SingleConsole.ConsoleShutdownListener

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.