Package uk.ac.uea.threadr

Examples of uk.ac.uea.threadr.Threadr.enableLogging()


      REPS = Integer.parseInt(args[1]);
    }

    /* Set up Threadr. */
    Threadr threadr = new Threadr();
    threadr.enableLogging();
    threadr.setOutputLevel(Level.FINEST);
    threadr.setSequentialHandler(new PostSequentialHandler());

    for (int i = 1; i <= TASK_COUNT; i++) {

View Full Code Here


  }
 
  public static void main(String...args) {
   
    Threadr threadr = new Threadr();
    threadr.enableLogging();
    threadr.setOutputLevel(Level.FINER);
    threadr.setSequentialHandler(new PostSequentialHandler());
   
    StringTest[] stringTests = new StringTest[5];
    Test2[] test2Tests = new Test2[5];
View Full Code Here

    tasks.add(new FirstParallelSafe());
    tasks.add(new FirstParallelSafe());
    tasks.add(new FirstParallelSafe());
   
    Threadr threadr = new Threadr(tasks);
    threadr.enableLogging();
   
    ThreadrResult results = threadr.execute();
   
    for (Object result : results.getResults()) {
      try {
View Full Code Here

 
  public static void main(String[] args) {
   
    ComplexObjectTest test = new ComplexObjectTest();
    Threadr framework = new Threadr(test.objects);
    framework.enableLogging();
    framework.setOutputLevel(Level.FINE);
    framework.execute();
    Threadr.logger.info("Done");
  }
}
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.