MonotonicClock (Bitronix Transaction Manager :: Core 2.1.4 API)
Date: 2013-09-15

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## bitronix.tm.utils
Class MonotonicClock

    java.lang.Object
      bitronix.tm.utils.MonotonicClock

    public class MonotonicClock

extends Object

A System.currentTimeMillis() replacement which guarantees monotonic time increment.

Author:
  lorban

Constructor Summary
`MonotonicClock()`

Method Summary
`static long` | `currentTimeMillis()` Return the current time in milliseconds, guaranteeing monotonic time increment.

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Constructor Detail

### MonotonicClock

    public MonotonicClock()

Method Detail

### currentTimeMillis

    public static long currentTimeMillis()

  Return the current time in milliseconds, guaranteeing monotonic time increment.

  Returns:
    the current time in milliseconds.

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2006-2013 Bitronix Software. All Rights Reserved.