SoyutHostMonitor

public abstract class AbstractHostMonitor
extends Object implements IHostMonitor

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


Ana Bilgisayar Sağlığı İzleme için tipik sınıf. aracının ayrıntılarıyla gönderim()'in uygulanması.

Özet

Alanlar

protected mHostData

protected mHostEvents

Kamu inşaatçıları

AbstractHostMonitor ()

Genel yöntemler

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

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

abstract void dispatch ()

Geçerli ana bilgisayar veri değerlerini toplayın ve yayar.

IHostMonitor.HostMetricType getTag ()

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

void run ()
void terminate ()

Ana Bilgisayar Monitörünü durdurmak için çağrılacak bir yöntem.

Alanlar

mHostData

protected  mHostData

mHostEvents

protected  mHostEvents

Kamu inşaatçıları

SoyutHostMonitor

public AbstractHostMonitor ()

Genel yöntemler

addHostEvent

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

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

Parametreler
tag IHostMonitor.HostMetricType

event IHostMonitor.HostDataPoint

sevk etmek

public abstract void dispatch ()

Geçerli ana bilgisayar veri değerlerini toplayın ve yayar. Varsa Kuyruktaki Olayları yaymalıdır.

getTag

public IHostMonitor.HostMetricType getTag ()

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

İadeler
IHostMonitor.HostMetricType

koşmak

public void run ()

sonlandırmak

public void terminate ()

Ana Bilgisayar Monitörünü durdurmak için çağrılacak bir yöntem.