EmailHostHealthAgent
public
class
EmailHostHealthAgent
extends Object
implements
IHostHealthAgent
| java.lang.Object | |
| ↳ | com.android.tradefed.util.hostmetric.EmailHostHealthAgent |
A IHostHealthAgent implementation to send email from Host monitor reports
Summary
Public constructors | |
|---|---|
EmailHostHealthAgent()
|
|
Public methods | |
|---|---|
void
|
emitValue(String name, long value,
Emits a value for a metric name. |
void
|
flush()
Flushes enqueued metrics. |
Public constructors
EmailHostHealthAgent
public EmailHostHealthAgent ()
Public methods
emitValue
public void emitValue (String name,
long value,
data) Emits a value for a metric name. The value gets enqueued and uploaded when
IHostHealthAgent.flush gets called.
| Parameters | |
|---|---|
name |
String: a metric name |
value |
long: a metric value |
data |
: data associated with the metric value |
flush
public void flush ()
Flushes enqueued metrics.