ClusterCommandScheduler
public
class
ClusterCommandScheduler
extends CommandScheduler
| java.lang.Object | |||
| ↳ | java.lang.Thread | ||
| ↳ | com.android.tradefed.command.CommandScheduler | ||
| ↳ | com.android.tradefed.cluster.ClusterCommandScheduler | ||
TFC (Tradefed Cluster)를 지원하는 ICommandScheduler 이 스케줄러는 TFC 명령어 대기열에서 명령어를 실행하고 호출 이벤트를 TFC 명령어 이벤트 대기열에 업로드합니다.
요약
공개 생성자 | |
|---|---|
ClusterCommandScheduler()
|
|
공개 메서드 | |
|---|---|
void
|
shutdown()
|
void
|
shutdownHard()
명령어 스케줄러를 강제 종료하려고 시도합니다. |
void
|
start()
로깅 설정, |
보호된 메서드 | |
|---|---|
boolean
|
dryRunCommand(ClusterCommandScheduler.InvocationEventHandler handler, String[] args)
지정된 명령어가 테스트 실행인지 확인합니다. |
void
|
processReadyCommands(IDeviceManager manager)
|
공개 생성자
ClusterCommandScheduler
public ClusterCommandScheduler ()
공개 메서드
shutdown
public void shutdown ()
shutdownHard
public void shutdownHard ()
명령어 스케줄러를 강제 종료하려고 시도합니다. shutdownHard(true)와 동일합니다.
보호된 메서드
dryRunCommand
protected boolean dryRunCommand (ClusterCommandScheduler.InvocationEventHandler handler,
String[] args)지정된 명령어가 테스트 실행인지 확인합니다. 명령어가 테스트 실행인 경우 유효성을 검사합니다. 구성 문제가 있으면 ConfigurationException이 발생합니다.
| 매개변수 | |
|---|---|
handler |
ClusterCommandScheduler.InvocationEventHandler: 테스트 실행 유효성 검사를 위해 이벤트를 보고하는 ERROR(InvocationEventHandler/com.android.tradefed.cluster.ClusterCommandScheduler.InvocationEventHandler InvocationEventHandler) |
args |
String: 유효성을 검사할 명령어입니다. |
| 반환 | |
|---|---|
boolean |
명령어가 드라이 런인 경우 true, 그렇지 않은 경우 false입니다. |
| 생성 값 | |
|---|---|
|
com.android.tradefed.config.ConfigurationException |
ConfigurationException |
|
processReadyCommands
protected void processReadyCommands (IDeviceManager manager)
| 매개변수 | |
|---|---|
manager |
IDeviceManager |