Class StartingEpochMillis

java.lang.Object
io.nosqlbench.virtdata.library.basics.shared.from_long.to_time_types.StartingEpochMillis
All Implemented Interfaces:
java.util.function.LongUnaryOperator

public class StartingEpochMillis
extends java.lang.Object
implements java.util.function.LongUnaryOperator
This function sets the minimum long value to the equivalent unix epoch time in milliseconds. It simply adds the input value to this base value as determined by the provided time specifier. It wraps any overflow within this range as well.
  • Constructor Summary

    Constructors 
    Constructor Description
    StartingEpochMillis​(java.lang.String baseTimeSpec)  
  • Method Summary

    Modifier and Type Method Description
    long applyAsLong​(long value)  

    Methods inherited from class java.lang.Object

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

    Methods inherited from interface java.util.function.LongUnaryOperator

    andThen, compose
  • Constructor Details

  • Method Details

    • applyAsLong

      public long applyAsLong​(long value)
      Specified by:
      applyAsLong in interface java.util.function.LongUnaryOperator