Uploaded image for project: 'Java Driver'
  1. Java Driver
  2. JAVA-550

Use System.nanoTime instead of System.currentTimeMillis for taking latency measurements in ReplicaSetStatus.Updater thread

    • Type: Icon: Improvement Improvement
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • 2.8.0
    • Affects Version/s: 2.7
    • Component/s: Cluster Management
    • None

      According to Java API documentation, System.nanoTime is preferred for taking elapsed time measurements (http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/System.html#nanoTime()).

            Assignee:
            jeff.yemin@mongodb.com Jeffrey Yemin
            Reporter:
            jeff.yemin@mongodb.com Jeffrey Yemin
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: