Package ch.qos.logback.core.contention

Examples of ch.qos.logback.core.contention.ThreadedThroughputCalculator.execute()


    for (int i = 0; i < 2; i++) {
      tp.execute(buildArray(FormattingModel.SDF));
      tp.execute(buildArray(FormattingModel.JODA));
    }

    tp.execute(buildArray(FormattingModel.JODA));
    tp.printThroughput("JODA: ");
   
    tp.execute(buildArray(FormattingModel.SDF));
    tp.printThroughput("SDF:  ");
View Full Code Here


    }

    tp.execute(buildArray(FormattingModel.JODA));
    tp.printThroughput("JODA: ");
   
    tp.execute(buildArray(FormattingModel.SDF));
    tp.printThroughput("SDF:  ");


  }
View Full Code Here

    LoggerContext lc = new LoggerContext();
    Logger logger = buildLoggerContext(lc);
   
    for (int i = 0; i < 2; i++) {
      tp.execute(buildArray(logger));
    }

    tp.execute(buildArray(logger));
    tp.printThroughput("File:   ");
    lc.stop();
View Full Code Here

   
    for (int i = 0; i < 2; i++) {
      tp.execute(buildArray(logger));
    }

    tp.execute(buildArray(logger));
    tp.printThroughput("File:   ");
    lc.stop();
  }

  static Logger buildLoggerContext(LoggerContext lc) {
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. 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.