Class StorageTimestampProvider.Default

java.lang.Object
one.microstream.storage.types.StorageTimestampProvider.Default
All Implemented Interfaces:
StorageTimestampProvider
Enclosing interface:
StorageTimestampProvider

public static final class StorageTimestampProvider.Default
extends Object
implements StorageTimestampProvider
  • Constructor Details

  • Method Details

    • currentNanoTimestamp

      public long currentNanoTimestamp()
      Description copied from interface: StorageTimestampProvider
      Provides the current timestamp in nanosecond precision but not necessarily in nanosecond accuracy. However it is guaranteed that subsequent calls of this method never return an equal or lower value.
      Specified by:
      currentNanoTimestamp in interface StorageTimestampProvider
      Returns:
      a strictly monotone increasing timestamp with nanosecond precision.