主機監視器

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 ()

將呼叫以停止主機監視器的方法。