IHostMonitor

public interface IHostMonitor

com.android.tradefed.util.hostmetric.IHostMonitor
Known Indirect Subclasses
AbstractHostMonitor Typical class for Host Health Monitoring. 
HeapHostMonitor AbstractHostMonitor implementation that monitors the heap memory on the host and log it periodically to the history log. 


Interface to dispatch host data

Summary

Nested classes

class IHostMonitor.HostDataPoint

Generic class for data to be reported. 

enum IHostMonitor.HostMetricType

 

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

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

void start ()

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

terminate

void terminate ()

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