Add Resource Cache feature that updates cache data periodically for the non-observabl...
authorYounghyunJoo <yh_.joo@samsung.com>
Tue, 30 Jun 2015 01:40:16 +0000 (10:40 +0900)
committerUze Choi <uzchoi@samsung.com>
Tue, 30 Jun 2015 05:10:09 +0000 (05:10 +0000)
commit25aaeef200bd900fb99ea622889a20695cb00486
treedcdb83ab3ef3209f0972f5d4d12c4d5647a03ed1
parent0516c617d970e7d39fe59b57cde0cb6ccfbc1858
Add Resource Cache feature that updates cache data periodically for the non-observable resource

Add Primitive Timer instance which checks the frequency and alarms
Add onTimer function to update cache data when Primitive timer alarms.

Change-Id: Ic5c9c0076058344829075e84084c75adb295eaad
Signed-off-by: YounghyunJoo <yh_.joo@samsung.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/1449
Tested-by: jenkins-iotivity <jenkins-iotivity@opendaylight.org>
Reviewed-by: Uze Choi <uzchoi@samsung.com>
service/resource-manipulation/modules/resourceCache/SConscript
service/resource-manipulation/modules/resourceCache/include/DataCache.h
service/resource-manipulation/modules/resourceCache/src/DataCache.cpp