IHostMonitor
public interface IHostMonitor
com.android.tradefed.util.hostmetric.IHostMonitor |
อินเทอร์เฟซสำหรับส่งข้อมูลโฮสต์
สรุป
คลาสที่ซ้อนกัน | |
---|---|
class | IHostMonitor.HostDataPoint คลาสทั่วไปสำหรับข้อมูลที่จะรายงาน |
enum | IHostMonitor.HostMetricType
|
วิธีการสาธารณะ | |
---|---|
abstract void | addHostEvent ( IHostMonitor.HostMetricType tag, IHostMonitor.HostDataPoint event) วิธีการที่จะเรียกเพิ่มกิจกรรมพิเศษที่จะส่ง |
abstract void | start () เมธอดที่จะถูกเรียกหลังจากตั้งค่าฟิลด์ @Option ของ Monitor ทั้งหมดแล้ว |
abstract void | terminate () เมธอดที่จะเรียกหยุด Host Monitor |
วิธีการสาธารณะ
addHostEvent
public abstract void addHostEvent (IHostMonitor.HostMetricType tag, IHostMonitor.HostDataPoint event)
วิธีการที่จะเรียกเพิ่มกิจกรรมพิเศษที่จะส่ง
พารามิเตอร์ | |
---|---|
tag | IHostMonitor.HostMetricType |
event | IHostMonitor.HostDataPoint |
เริ่ม
public abstract void start ()
เมธอดที่จะถูกเรียกหลังจากตั้งค่าฟิลด์ @Option ของ Monitor ทั้งหมดแล้ว
ยุติ
public abstract void terminate ()
เมธอดที่จะเรียกหยุด Host Monitor
Content and code samples on this page are subject to the licenses described in the Content License. Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.
Last updated 2022-08-15 UTC.
[{
"type": "thumb-down",
"id": "missingTheInformationINeed",
"label":"ไม่มีข้อมูลที่ฉันต้องการ"
},{
"type": "thumb-down",
"id": "tooComplicatedTooManySteps",
"label":"ซับซ้อนเกินไป/มีหลายขั้นตอนมากเกินไป"
},{
"type": "thumb-down",
"id": "outOfDate",
"label":"ล้าสมัย"
},{
"type": "thumb-down",
"id": "translationIssue",
"label":"ปัญหาเกี่ยวกับการแปล"
},{
"type": "thumb-down",
"id": "samplesCodeIssue",
"label":"ตัวอย่าง/ปัญหาเกี่ยวกับโค้ด"
},{
"type": "thumb-down",
"id": "otherDown",
"label":"อื่นๆ"
}]
[{
"type": "thumb-up",
"id": "easyToUnderstand",
"label":"เข้าใจง่าย"
},{
"type": "thumb-up",
"id": "solvedMyProblem",
"label":"แก้ปัญหาของฉันได้"
},{
"type": "thumb-up",
"id": "otherUp",
"label":"อื่นๆ"
}]