IHostMonitor
  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()
      用于停止主机监控器的调用方法。 | 
公共方法
addHostEvent
public abstract void addHostEvent (IHostMonitor.HostMetricType tag, IHostMonitor.HostDataPoint event)
用于添加要发送的特殊事件的方法。
| 参数 | |
|---|---|
| tag | IHostMonitor.HostMetricType | 
| event | IHostMonitor.HostDataPoint | 
start
public abstract void start ()
在设置监视器的所有 @Option 字段后调用的方法。
终止
public abstract void terminate ()
用于停止主机监控器的调用方法。
