Hi,

On Fri, May 13, 2016 at 9:28 AM Angela Schreiber <anch...@adobe.com> wrote:

> On 13/05/16 15:13, "Julian Reschke" <julian.resc...@greenbytes.de> wrote:
> >Maybe there's code missing ensuring that System.currentTimeMillis()
> >actually changed before doing the operation that's suppose to lead to a
> >new timestamp?
>
> that might well be. i will take a look.
>

The Clock class [1] is convenient for this purpose.

[1]
https://github.com/apache/jackrabbit-oak/blob/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/stats/Clock.java

Best,

Jukka Zitting

Reply via email to