HeapHostMonitor
public
class
HeapHostMonitor
extends AbstractHostMonitor
| java.lang.Object | ||
| ↳ | com.android.tradefed.util.hostmetric.AbstractHostMonitor | |
| ↳ | com.android.tradefed.util.hostmetric.HeapHostMonitor | |
一种 AbstractHostMonitor 实现,用于监控主机上的堆内存并定期将其记录到历史记录日志中。
摘要
常量 | |
|---|---|
String |
HEAP_KEY
|
公共构造函数 | |
|---|---|
HeapHostMonitor()
|
|
公共方法 | |
|---|---|
void
|
dispatch()
收集并发出当前主机数据值。 |
常量
HEAP_KEY
protected static final String HEAP_KEY
常量值: "heap_memory_Mbytes"
公共构造函数
HeapHostMonitor
public HeapHostMonitor ()
公共方法
dispatch
public void dispatch ()
收集并发出当前主机数据值。应发出队列中的事件(如果有)。