ClusterCommandScheduler
public
class
ClusterCommandScheduler
extends CommandScheduler
java.lang.Object | ||
↳ | com.android.tradefed.command.CommandScheduler | |
↳ | com.android.tradefed.cluster.ClusterCommandScheduler |
TFC (Tradefed 클러스터)를 지원하는 ICommandScheduler
입니다. 이 스케줄러는 TFC 명령어 큐에서 명령어를 실행하고 호출 이벤트를 TFC 명령어 이벤트 큐에 업로드합니다.
요약
공개 생성자 | |
---|---|
ClusterCommandScheduler()
|
공개 메서드 | |
---|---|
void
|
shutdown()
|
void
|
shutdownHard()
명령어 스케줄러를 강제로 종료해 봅니다. |
void
|
start()
로깅 설정, |
보호된 메서드 | |
---|---|
boolean
|
dryRunCommand(ClusterCommandScheduler.InvocationEventHandler handler, String[] args)
지정된 명령어가 테스트 실행인지 여부를 결정합니다. |
void
|
processReadyCommands(IDeviceManager manager)
|
공개 생성자
ClusterCommandScheduler
public ClusterCommandScheduler ()
공개 메서드
종료
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 |