You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@slider.apache.org by "Gour Saha (JIRA)" <ji...@apache.org> on 2016/06/15 05:23:09 UTC
[jira] [Resolved] (SLIDER-935) Move Duration to using monotonic
time
[ https://issues.apache.org/jira/browse/SLIDER-935?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Gour Saha resolved SLIDER-935.
------------------------------
Resolution: Fixed
> Move Duration to using monotonic time
> -------------------------------------
>
> Key: SLIDER-935
> URL: https://issues.apache.org/jira/browse/SLIDER-935
> Project: Slider
> Issue Type: Improvement
> Components: core
> Affects Versions: Slider 0.80
> Reporter: Steve Loughran
> Assignee: Steve Loughran
> Priority: Minor
> Fix For: Slider 0.91
>
> Original Estimate: 1h
> Remaining Estimate: 1h
>
> Slider's {{Duration}} class, while useful, uses {{System.currentTimeMillis()}} for its time. It should be asking for monotonic time (and dividing by 1e6) for milliseconds, as current time is bidirectional, and on VMs can be particularly choppy.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)