ClusterCommandScheduler
public class ClusterCommandScheduler
extends CommandScheduler
java.lang.Object | ||
↳ | 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 ()
공개 메소드
일시 휴업
public void shutdown ()
종료하드
public void shutdownHard ()
명령 스케줄러를 강제로 종료해 보십시오. shutdownHard(true)와 동일합니다.
보호된 방법
dryRun명령
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 |
processReady명령
protected void processReadyCommands (IDeviceManager manager)
매개변수 | |
---|---|
manager | IDeviceManager |