SoyutAna BilgisayarMonitör
public abstract class AbstractHostMonitor
extends Object
implements IHostMonitor
java.lang.Nesne | |
↳ | com.android.tradefed.util.hostmetric.AbstractHostMonitor |
Ana Bilgisayar Sağlığı İzleme için tipik sınıf. ajanın özellikleriyle sevk() uygulamak.
Ö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 () Mevcut ana bilgisayar veri değerlerini toplar ve yayar. |
IHostMonitor.HostMetricType | getTag () |
void | run () |
void | terminate () Ana Bilgisayar İzleyicisini durdurmak için çağrılacak bir yöntem. |
Alanlar
mHostData
protectedmHostData
mHostEvents
protectedmHostEvents
Kamu inşaatçıları
SoyutAna BilgisayarMonitör
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
public abstract void dispatch ()
Mevcut ana bilgisayar veri değerlerini toplar ve yayar. Varsa Sıradaki Olayları yayar.
etiketle
public IHostMonitor.HostMetricType getTag ()
IHostMonitor
hangi '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 İzleyicisini durdurmak için çağrılacak bir yöntem.