IHostMonitor
public interface IHostMonitor
com.android.tradefed.util.hostmetric.IHostMonitor |
Interfaccia per inviare i dati dell'host
Riepilogo
Classi nidificate | |
---|---|
class | IHostMonitor.HostDataPoint Classe generica per i dati da riportare. |
enum | IHostMonitor.HostMetricType
|
Metodi pubblici | |
---|---|
abstract void | addHostEvent ( IHostMonitor.HostMetricType tag, IHostMonitor.HostDataPoint event) Un metodo che verrà chiamato per aggiungere un evento speciale da inviare. |
abstract void | start () Un metodo che verrà chiamato dopo che tutti i campi @Option del Monitor sono stati impostati. |
abstract void | terminate () Un metodo che verrà chiamato per arrestare Host Monitor. |
Metodi pubblici
addHostEvent
public abstract void addHostEvent (IHostMonitor.HostMetricType tag, IHostMonitor.HostDataPoint event)
Un metodo che verrà chiamato per aggiungere un evento speciale da inviare.
Parametri | |
---|---|
tag | IHostMonitor.HostMetricType |
event | IHostMonitor.HostDataPoint |
inizio
public abstract void start ()
Un metodo che verrà chiamato dopo che tutti i campi @Option del Monitor sono stati impostati.
terminare
public abstract void terminate ()
Un metodo che verrà chiamato per arrestare Host Monitor.
Content and code samples on this page are subject to the licenses described in the Content License. Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.
Last updated 2022-08-15 UTC.