PIOT-GDA-02-007: Connect SystemCpuUtilTask and SystemMemUtilTask to SystemPerformanceManager #44
Labels
exercise
New feature to implement as an exercise
Milestone
Description
SystemCpuUtilTask
andSystemMemUtilTask
intoSystemPerformanceManager
by invoking their respectivegetTelemetryValue()
methods within theSystemPerformanceManager
method calledhandleTelemetry()
using a scheduled thread. This work should be implemented within theSystemPerformanceManager
class.Review the README
Estimated effort may vary greatly
Actions
NOTE: The implementation examples depicted here are only one way to implement the requirements listed. Your own implementation may vary of course.
cpuUtil
andmemUtil
.SystemCpuUtilTask
andSystemMemUtilTask
, as well as the scheduler service to handle interval-based calling to retrieve each task's value:startManager()
method, invoke thethis.schedExecSvc.scheduleAtFixedRate()
method to start the scheduler.stopManager()
method, invoke thethis.schedExecSvc.shutdown();
call to stop the scheduler.Estimate
Tests
The text was updated successfully, but these errors were encountered: