public enum RunnerState extends Enum<RunnerState>
| 枚举常量和说明 |
|---|
Ready
Runner is ready to receive message from master.
|
Running
Runner is done with submitting tasks.
|
Spawning
Runner is submitting tasks to its thread pool.
|
Stopped
Runner is stopped, its thread pool is destroyed, the test is stopped.
|
public static final RunnerState Ready
public static final RunnerState Spawning
public static final RunnerState Running
public static final RunnerState Stopped
public static RunnerState[] values()
for (RunnerState c : RunnerState.values()) System.out.println(c);
public static RunnerState valueOf(String name)
name - 要返回的枚举常量的名称。IllegalArgumentException - 如果该枚举类型没有带有指定名称的常量NullPointerException - 如果参数为空值Copyright © 2022. All rights reserved.