You are viewing a plain text version of this content. The canonical link for it is here.
Posted to oak-issues@jackrabbit.apache.org by "Jukka Zitting (JIRA)" <ji...@apache.org> on 2014/03/12 16:39:44 UTC

[jira] [Created] (OAK-1534) Clock improvements

Jukka Zitting created OAK-1534:
----------------------------------

             Summary: Clock improvements
                 Key: OAK-1534
                 URL: https://issues.apache.org/jira/browse/OAK-1534
             Project: Jackrabbit Oak
          Issue Type: Improvement
          Components: core
            Reporter: Jukka Zitting
            Assignee: Jukka Zitting


It would be useful to extend the recently added {{Clock}} mechanism with methods that guarantee monotonically or strictly increasing timestamps in addition to the raw system time. Also convenience methods that return {{Date}} instances would be nice.

Another useful improvement would be to make the granularity of the reported time configurable, so we can better test code that relies on the millisecond timestamps for timing.



--
This message was sent by Atlassian JIRA
(v6.2#6252)