MemoryProbe
Collects free physical and virtual memory as FreeMemory on a regular basis as specified by the IntervalSamplingConfiguration.interval.
Only available on Android (it seems).
- Inheritance
-
- Object
- AbstractExecutor<
Measure> - Probe
- MeasurementProbe
- IntervalProbe
- MemoryProbe
Constructors
MemoryProbe
Methods
getMeasurement
override
Collects the Measurement. Implemented by subclasses.
Can return null if no data is available. Can return an Error measurement if an error occurs.
onInitialize
Called by initialize. Returns true if successfully initialized.
If false, the executor stays in ExecutorState.Created. This is a synchronous method and must be light-weight.