ClientData.IHprofDumpHandler
public
static
interface
ClientData.IHprofDumpHandler
| com.android.tradefed.device.server.ClientData.IHprofDumpHandler |
Handlers able to act on HPROF dumps.
Summary
Public methods | |
|---|---|
abstract
void
|
onEndFailure(Client client, String message)
Called when a hprof dump failed to end on the VM side |
abstract
void
|
onSuccess(String remoteFilePath, Client client)
Called when a HPROF dump succeeded. |
abstract
void
|
onSuccess(byte[] data, Client client)
Called when a HPROF dump was successful. |
Public methods
onEndFailure
public abstract void onEndFailure (Client client, String message)
Called when a hprof dump failed to end on the VM side
| Parameters | |
|---|---|
client |
Client: the client that was profiled. |
message |
String: an optional (null ok) error message to be displayed. |
onSuccess
public abstract void onSuccess (String remoteFilePath,
Client client)Called when a HPROF dump succeeded.
| Parameters | |
|---|---|
remoteFilePath |
String: the device-side path of the HPROF file. |
client |
Client: the client for which the HPROF file was. |
onSuccess
public abstract void onSuccess (byte[] data,
Client client)Called when a HPROF dump was successful.
| Parameters | |
|---|---|
data |
byte: the data containing the HPROF file, streamed from the VM |
client |
Client: the client that was profiled. |