Class TimestampServiceImpl.Timer

  • Enclosing class:
    TimestampServiceImpl

    static class TimestampServiceImpl.Timer
    extends java.lang.Object
    Inner class that uses System for generating the timestamps.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private java.util.Random rand  
    • Constructor Summary

      Constructors 
      Constructor Description
      Timer()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      (package private) java.lang.Long getMilis()  
      (package private) java.lang.Integer getRandomInteger()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • rand

        private final java.util.Random rand
    • Constructor Detail

      • Timer

        Timer()
    • Method Detail

      • getMilis

        java.lang.Long getMilis()
      • getRandomInteger

        java.lang.Integer getRandomInteger()