AbstractHostMonitor

public abstract class AbstractHostMonitor
extends Object implements IHostMonitor

java.lang.Object
   ↳ com.android.tradefed.util.hostmetric.AbstractHostMonitor


Ana makine sağlığı izleme için tipik sınıf. dispatch() işlevini aracıya özgü özelliklerle uygular.

Özet

Fields'ın oynadığı filmler

protected mHostData

protected mHostEvents

Herkese açık kurucular

AbstractHostMonitor()

Herkese açık yöntemler

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

Gönderilecek özel bir etkinlik eklemek için çağrılacak bir yöntem.

abstract void dispatch()

Mevcut ana makine veri değerlerini toplar ve yayınlar.

IHostMonitor.HostMetricType getTag()

Hangi IHostMonitor "sınıfına" ulaşılacağını tanımlayan etiketi döndürme.

void run()
void terminate()

Ana makine izleyiciyi durdurmak için çağrılacak bir yöntem.

Fields'ın oynadığı filmler

mHostData

protected  mHostData

mHostEvents

protected  mHostEvents

Herkese açık kurucular

AbstractHostMonitor

public AbstractHostMonitor ()

Herkese açık yöntemler

addHostEvent

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

Gönderilecek özel bir etkinlik eklemek için çağrılacak bir yöntem.

Parametreler
tag IHostMonitor.HostMetricType

event IHostMonitor.HostDataPoint

gönderim

public abstract void dispatch ()

Mevcut ana makine veri değerlerini toplar ve yayınlar. Varsa sıradaki etkinlikleri yayınlar.

getTag

public IHostMonitor.HostMetricType getTag ()

Hangi IHostMonitor "sınıfına" ulaşılacağını tanımlayan etiketi döndürme.

İlerlemeler
IHostMonitor.HostMetricType

çalıştır

public void run ()

sonlandırma

public void terminate ()

Ana makine izleyiciyi durdurmak için çağrılacak bir yöntem.