Package com.cetsoft.caudit.stopwatch

Examples of com.cetsoft.caudit.stopwatch.CountingStopwatch.start()


    for (int i=0;i<10;i++) {
      new Thread(new Runnable() {
        public void run() {
          while (true) {
            CountingStopwatch stopwatch = Audits.getCountingStopwatch(COUNTING_STOPWATCH_ID);
            stopwatch.start();
            try {
              Thread.sleep((long) (Math.random() * 100));
            } catch (InterruptedException e) {
              e.printStackTrace();
            }
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.