Class TimestampPrinter

java.lang.Object
io.atomix.client.utils.misc.TimestampPrinter

public class TimestampPrinter extends Object
Timestamp printer.
  • Constructor Details

    • TimestampPrinter

      public TimestampPrinter(long timestamp)
  • Method Details

    • of

      public static TimestampPrinter of(long timestamp)
      Returns a new timestamp printer.
      Parameters:
      timestamp - the timestamp to print
      Returns:
      the timestamp printer
    • toString

      public String toString()
      Overrides:
      toString in class Object