Class ParallelComputer

java.lang.Object
org.junit.runner.Computer
org.apache.maven.surefire.junitcore.pc.ParallelComputer
Direct Known Subclasses:
ParallelComputerBuilder.PC

public abstract class ParallelComputer extends org.junit.runner.Computer
ParallelComputer extends JUnit Computer and has a shutdown functionality.
Since:
2.16
See Also:
  • Field Details

    • DAEMON_THREAD_FACTORY

      private static final ThreadFactory DAEMON_THREAD_FACTORY
    • NANOS_IN_A_SECOND

      private static final double NANOS_IN_A_SECOND
      See Also:
    • shutdownStatus

      private final ShutdownStatus shutdownStatus
    • forcedShutdownStatus

      private final ShutdownStatus forcedShutdownStatus
    • timeoutNanos

      private final long timeoutNanos
    • timeoutForcedNanos

      private final long timeoutForcedNanos
    • shutdownScheduler

      private ScheduledExecutorService shutdownScheduler
  • Constructor Details

    • ParallelComputer

      public ParallelComputer(double timeoutInSeconds, double timeoutForcedInSeconds)
  • Method Details