IHostMonitor

public interface IHostMonitor

com.android.tradefed.util.hostmetric.IHostMonitor


Interface to dispatch host data

Summary

Nested classes

class IHostMonitor.HostDataPoint

Generic class for data to be reported. 

Public methods

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

A method that will be called to add a special event to be sent.

abstract void start()

A method that will be called after all of the Monitor's @Option fields have been set.

abstract void terminate()

A method that will be called to stop the Host Monitor.

Public methods

addHostEvent

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

A method that will be called to add a special event to be sent.

Parameters
tag IHostMonitor.HostMetricType

event IHostMonitor.HostDataPoint

start

public abstract void start ()

A method that will be called after all of the Monitor's @Option fields have been set.

terminate

public abstract void terminate ()

A method that will be called to stop the Host Monitor.