主机监控

public interface IHostMonitor

com.android.tradefed.util.hostmetric.IHostMonitor


调度主机数据的接口

概括

嵌套类

class IHostMonitor.HostDataPoint

要报告的数据的通用类。

公共方法

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

将被调用以添加要发送的特殊事件的方法。

abstract void start ()

设置 Monitor 的所有 @Option 字段后将调用的方法。

abstract void terminate ()

将调用以停止主机监视器的方法。

公共方法

添加主机事件

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

将被调用以添加要发送的特殊事件的方法。

参数
tag IHostMonitor.HostMetricType

event IHostMonitor.HostDataPoint

开始

public abstract void start ()

设置 Monitor 的所有 @Option 字段后将调用的方法。

终止

public abstract void terminate ()

将调用以停止主机监视器的方法。