클러스터 명령 스케줄러

public class ClusterCommandScheduler
extends CommandScheduler

java.lang.객체
com.android.tradefed.command.CommandScheduler
com.android.tradefed.cluster.ClusterCommandScheduler


TFC(Tradefed Cluster)를 지원하는 ICommandScheduler . 이 스케줄러는 TFC 명령 대기열에서 명령을 실행하고 호출 이벤트를 TFC 명령 이벤트 대기열에 업로드합니다.

요약

공개 생성자

ClusterCommandScheduler ()

공개 방법

void shutdown ()

void shutdownHard ()

명령 스케줄러를 강제로 종료하십시오.

void start ()

로깅 설정, DeviceManager 초기화 등 스케줄러 시작

보호된 메서드

boolean dryRunCommand (ClusterCommandScheduler.InvocationEventHandler handler, String[] args)

주어진 명령이 테스트 실행인지 확인합니다.

void processReadyCommands ( IDeviceManager manager)

공개 생성자

클러스터 명령 스케줄러

public ClusterCommandScheduler ()

공개 방법

일시 휴업

public void shutdown ()

종료하드

public void shutdownHard ()

명령 스케줄러를 강제로 종료하십시오. shutdownHard(true)와 동일합니다.

시작

public void start ()

로깅 설정, DeviceManager 초기화 등 스케줄러 시작

보호된 메서드

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

processReadyCommands

protected void processReadyCommands (IDeviceManager manager)

매개변수
manager IDeviceManager