org.apache.maven.surefire.junitcore
Class ConfigurableParallelComputer.AsynchronousRunner

java.lang.Object
  extended by org.apache.maven.surefire.junitcore.ConfigurableParallelComputer.AsynchronousRunner
All Implemented Interfaces:
org.junit.runners.model.RunnerScheduler
Enclosing class:
ConfigurableParallelComputer

public class ConfigurableParallelComputer.AsynchronousRunner
extends Object
implements org.junit.runners.model.RunnerScheduler


Constructor Summary
ConfigurableParallelComputer.AsynchronousRunner(ExecutorService fService)
           
 
Method Summary
 void finished()
           
 void schedule(Runnable childStatement)
           
 void waitForCompletion()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ConfigurableParallelComputer.AsynchronousRunner

public ConfigurableParallelComputer.AsynchronousRunner(ExecutorService fService)
Method Detail

schedule

public void schedule(Runnable childStatement)
Specified by:
schedule in interface org.junit.runners.model.RunnerScheduler

finished

public void finished()
Specified by:
finished in interface org.junit.runners.model.RunnerScheduler

waitForCompletion

public void waitForCompletion()
                       throws ExecutionException
Throws:
ExecutionException


Copyright © 2004-2011 The Apache Software Foundation. All Rights Reserved.