ClusterCommandScheduler
public
class
ClusterCommandScheduler
extends CommandScheduler
java.lang.Object | ||
↳ | com.android.tradefed.command.CommandScheduler | |
↳ | com.android.tradefed.cluster.ClusterCommandScheduler |
ICommandScheduler
do obsługi TFC (zintegrowany klaster). Ten harmonogram wykonuje polecenia z kolejki poleceń TFC i przesyła zdarzenia wywołania do kolejki zdarzeń poleceń TFC.
Podsumowanie
Konstruktory publiczne | |
---|---|
ClusterCommandScheduler()
|
Metody publiczne | |
---|---|
void
|
shutdown()
|
void
|
shutdownHard()
Spróbuj wymusić zamknięcie harmonogramu poleceń. |
void
|
start()
Uruchamia harmonogram, w tym konfigurację rejestrowania, inicjowanie |
Chronione metody | |
---|---|
boolean
|
dryRunCommand(ClusterCommandScheduler.InvocationEventHandler handler, String[] args)
Określa, czy dane polecenie jest testem. |
void
|
processReadyCommands(IDeviceManager manager)
|
Konstruktory publiczne
ClusterCommandScheduler
public ClusterCommandScheduler ()
Metody publiczne
wyłączenie
public void shutdown ()
shutdownHard
public void shutdownHard ()
Spróbuj wymusić zamknięcie harmonogramu poleceń. To samo co shutdownHard(true).
rozpocznij
public void start ()
Uruchamia harmonogram, w tym konfigurację rejestrowania, inicjowanie DeviceManager
itp.
Chronione metody
dryRunCommand
protected boolean dryRunCommand (ClusterCommandScheduler.InvocationEventHandler handler, String[] args)
Określa, czy dane polecenie jest testem. Jeśli polecenie jest testem, sprawdź je. Jeśli wystąpi problem z konfiguracją, zostanie rzucony wyjątek ConfigurationException.
Parametry | |
---|---|
handler |
ClusterCommandScheduler.InvocationEventHandler : ERROR(InvocationEventHandler/com.android.tradefed.cluster.ClusterCommandScheduler.InvocationEventHandler InvocationEventHandler) , aby zgłaszać zdarzenia do weryfikacji w trybie suchym. |
args |
String : polecenie do sprawdzenia. |
Zwroty | |
---|---|
boolean |
Wartość true, jeśli polecenie jest testem, w przeciwnym razie ma wartość false. |
Rzuty | |
---|---|
|
com.android.tradefed.config.ConfigurationException |
ConfigurationException |
processReadyCommands
protected void processReadyCommands (IDeviceManager manager)
Parametry | |
---|---|
manager |
IDeviceManager |