-
Notifications
You must be signed in to change notification settings - Fork 103
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
TimelineRecorder / TimelineSegment #11
Comments
sobri909
added a commit
that referenced
this issue
May 2, 2018
…(recorder / segment / processor) #11
sobri909
added a commit
that referenced
this issue
May 5, 2018
sobri909
added a commit
that referenced
this issue
May 5, 2018
sobri909
added a commit
that referenced
this issue
May 5, 2018
…h cycle, not from the initial specified item (which might've disappeared) #11
sobri909
added a commit
that referenced
this issue
May 6, 2018
sobri909
added a commit
that referenced
this issue
May 6, 2018
sobri909
added a commit
that referenced
this issue
May 7, 2018
sobri909
added a commit
that referenced
this issue
May 7, 2018
sobri909
added a commit
that referenced
this issue
May 7, 2018
sobri909
added a commit
that referenced
this issue
May 8, 2018
sobri909
added a commit
that referenced
this issue
May 8, 2018
sobri909
added a commit
that referenced
this issue
May 8, 2018
sobri909
added a commit
that referenced
this issue
May 8, 2018
sobri909
added a commit
that referenced
this issue
May 8, 2018
sobri909
added a commit
that referenced
this issue
May 9, 2018
sobri909
added a commit
that referenced
this issue
May 9, 2018
…g to sleep, not on every wakeup -> sleep transition #11
sobri909
added a commit
that referenced
this issue
May 9, 2018
sobri909
added a commit
that referenced
this issue
May 9, 2018
sobri909
added a commit
that referenced
this issue
May 9, 2018
sobri909
added a commit
that referenced
this issue
May 10, 2018
… have cached classifier results #11
sobri909
added a commit
that referenced
this issue
May 11, 2018
…eue. and add more delay before notifying on updates #11
sobri909
added a commit
that referenced
this issue
May 11, 2018
sobri909
added a commit
that referenced
this issue
May 15, 2018
sobri909
added a commit
that referenced
this issue
May 16, 2018
sobri909
added a commit
that referenced
this issue
May 16, 2018
sobri909
added a commit
that referenced
this issue
May 16, 2018
2 tasks
sobri909
added a commit
that referenced
this issue
May 17, 2018
… when in background, to avoid wasteful processing) #11
sobri909
added a commit
that referenced
this issue
May 17, 2018
sobri909
added a commit
that referenced
this issue
May 22, 2018
… of whether parent is path or visit #11
sobri909
added a commit
that referenced
this issue
May 27, 2018
sobri909
added a commit
that referenced
this issue
May 27, 2018
sobri909
added a commit
that referenced
this issue
May 28, 2018
sobri909
added a commit
that referenced
this issue
May 28, 2018
sobri909
added a commit
that referenced
this issue
May 28, 2018
sobri909
added a commit
that referenced
this issue
May 29, 2018
…corder's zone of responsibility #11
sobri909
added a commit
that referenced
this issue
May 29, 2018
…touch item.samples, to avoid sql selects inside db save transactions #11
sobri909
added a commit
that referenced
this issue
May 29, 2018
sobri909
added a commit
that referenced
this issue
May 30, 2018
…e a fetch of them on access, instead of waiting #11
sobri909
added a commit
that referenced
this issue
May 31, 2018
…e loop of reclassifying. so let's not nil the items array #11
sobri909
added a commit
that referenced
this issue
May 31, 2018
… reclassifying, processing, etc) #11
sobri909
added a commit
that referenced
this issue
May 31, 2018
sobri909
added a commit
that referenced
this issue
Jun 4, 2018
…neSegments can be hammering it from separate threads #11
sobri909
added a commit
that referenced
this issue
Jun 5, 2018
Closed
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This is an issue to track development on the new managers / stores architecture for the next major release.
public TimelineRecorder (new)
TimelineRecorder
will take over the jobs of a) communicating withLocomotionManager
, and b) creating new timeline items.The Recorder does not do any Item processing. It records new Samples and new TimelineItems, using the existing logic for whether to continue the current Item or create a new Item (ie on stationary/moving state changes, and activityType changes).
This division of labour keeps the Recorder simple and focused, and makes it easier to separate the Item processing loop from the recording loop. Which should hopefully allow for more battery efficient recording, by way of delaying Item processing until a point in time where it becomes necessary (eg sleep mode is about to start; some UI wants to show processed items to the user; etc).
public TimelineSegment (new)
TimelineSegment
adds functionality for fetching of TimelineItems within specified date ranges. It will also internally manage the processing of these Items (by making use ofTimelineProcessor
) so that the resulting Items set is coherent and human presentable (as compared to the raw unprocessed Items produced by Recorder).public TimelineProcessor (new)
TimelineProcessor
takes over the internal job of processing (merging, edge cleansing, safe deleting, etc) sequential Items.TimelineManager
TimelineManager
will be removed. The new classes take over all of its responsibilities, so it will be made redundant.Misc todos
Todos for the plain (non persistent) TimelineManagerNon persistent stores are no longer supported 😞
Need a replacement forfinalisedTimelineItem
Testing todos
Docs todos
The text was updated successfully, but these errors were encountered: