Activity data engine improvement

Description

1. Support long and float activity data
2. Add housekeeping thread to CompositeActivityValues to flush data when no incoming update request
3. Call flush in CompositeActivityValues close
4. Use Int.MIN_VALUE, Long.MIN_VALUE and -Float.MAX_VALUE to denote non-existent value
5. getFieldValues return activity value as it is without any format
6. Use "=" and "-=“ to indicate activity value increment or decrement, before the change we use "" and "-", it will introduce ambiguity, for eaxample "-5" you don't know if it means decreasing the value by 5 or setting the value to 5

Here is the change:

https://github.com/yozhao/sensei/commit/bf75b45f7bb7cef672a7dc1abb1c35a76d4bb3dc?w=1

Environment

None

Status

Assignee

Yonghui Zhao

Reporter

Yonghui Zhao

Labels

None

Priority

Major
Configure