MeasuredResource mRes = monitor.getMeasuredResource();
double utilization = calculateUtilization(mRes);
long now = System.currentTimeMillis();
if(mRes instanceof SystemMemoryUtilization)
addWatchRecord(new CalculableSystemMemory(getId(),
utilization,
now,
(SystemMemoryUtilization)mRes));
else
addWatchRecord(new CalculableMemory(getId(), utilization, now));