Class TimeStampProvider


  • class TimeStampProvider
    extends java.lang.Object
    Returns time stamps for the image cache for entry expiration functionality. This functionality is in its own class so it's easy to write a mock class for testing.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      long getTimeStamp()
      Returns the current time stamp.
      • Methods inherited from class java.lang.Object

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

      • TimeStampProvider

        TimeStampProvider()
    • Method Detail

      • getTimeStamp

        public long getTimeStamp()
        Returns the current time stamp.
        Returns:
        the current time stamp (the value returned follows the semantics of System.currentTimeMillis())