类 Ticker

java.lang.Object
ai.nextbillion.maps.internal.ratelimiter.Ticker

public abstract class Ticker
extends java.lang.Object
A time source; returns a time value representing the number of nanoseconds elapsed since some fixed but arbitrary point in time. Note that most users should use Stopwatch instead of interacting with this class directly.

Warning: this interface can only be used to measure elapsed time, not wall time.

作者:
Kevin Bourrillion
  • 构造器概要

    构造器 
    限定符 构造器 说明
    protected Ticker()
    Constructor for use by subclasses.
  • 方法概要

    修饰符和类型 方法 说明
    abstract long read()  
    static Ticker systemTicker()  

    从类继承的方法 java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • 构造器详细资料

    • Ticker

      protected Ticker()
      Constructor for use by subclasses.
  • 方法详细资料