Class TstUtils.StepClock

java.lang.Object
io.deephaven.engine.testutil.TstUtils.StepClock
All Implemented Interfaces:
com.fishlib.base.clock.Clock, LiveTable, Runnable
Enclosing class:
TstUtils

public static class TstUtils.StepClock extends Object implements com.fishlib.base.clock.Clock, LiveTable
  • Nested Class Summary

    Nested classes/interfaces inherited from interface com.fishlib.base.clock.Clock

    com.fishlib.base.clock.Clock.Cached, com.fishlib.base.clock.Clock.CachedOnDemand, com.fishlib.base.clock.Clock.Factory, com.fishlib.base.clock.Clock.Null
  • Field Summary

    Fields inherited from interface com.fishlib.base.clock.Clock

    NULL
  • Constructor Summary

    Constructors
    Constructor
    Description
    StepClock(long... nanoTimes)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    long
     
    long
     
    void
    Refresh this LiveTable.
    void
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface com.illumon.iris.db.tables.live.LiveTable

    run
  • Constructor Details

    • StepClock

      public StepClock(long... nanoTimes)
  • Method Details

    • currentTimeMillis

      public long currentTimeMillis()
      Specified by:
      currentTimeMillis in interface com.fishlib.base.clock.Clock
    • currentTimeMicros

      public long currentTimeMicros()
      Specified by:
      currentTimeMicros in interface com.fishlib.base.clock.Clock
    • refresh

      public void refresh()
      Description copied from interface: LiveTable
      Refresh this LiveTable.
      Specified by:
      refresh in interface LiveTable
    • reset

      public void reset()