ClusterCommandScheduler
public
class
ClusterCommandScheduler
extends CommandScheduler
| java.lang.Object | ||
| ↳ | com.android.tradefed.command.CommandScheduler | |
| ↳ | com.android.tradefed.cluster.ClusterCommandScheduler | |
ICommandScheduler เพื่อรองรับ TFC (คลัสเตอร์ที่ส่งผ่านข้อมูลทางการค้า) ตัวจัดเวลานี้จะเรียกใช้คําสั่งจากคิวคําสั่ง 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 |
จริงหากเป็นคำสั่งการจําลองการทำงาน เป็นเท็จหากไม่ใช่ |
| การโยน | |
|---|---|
|
com.android.tradefed.config.ConfigurationException |
ConfigurationException |
|
processReadyCommands
protected void processReadyCommands (IDeviceManager manager)
| พารามิเตอร์ | |
|---|---|
manager |
IDeviceManager |