主機監控

public interface IHostMonitor

com.android.tradefed.util.hostmetric.IHostMonitor


調度主機數據的接口

概括

嵌套類

class IHostMonitor.HostDataPoint

要報告的數據的通用類。

公共方法

abstract void addHostEvent ( IHostMonitor.HostMetricType tag, IHostMonitor.HostDataPoint event)

將被調用以添加要發送的特殊事件的方法。

abstract void start ()

設置監視器的所有@Option 字段後將調用的方法。

abstract void terminate ()

將調用以停止主機監視器的方法。

公共方法

添加主機事件

public abstract void addHostEvent (IHostMonitor.HostMetricType tag, 
                IHostMonitor.HostDataPoint event)

將被調用以添加要發送的特殊事件的方法。

參數
tag IHostMonitor.HostMetricType

event IHostMonitor.HostDataPoint

開始

public abstract void start ()

設置監視器的所有@Option 字段後將調用的方法。

終止

public abstract void terminate ()

將調用以停止主機監視器的方法。