Class TimeStampProvider

java.lang.Object
org.apache.xmlgraphics.image.loader.cache.TimeStampProvider

class TimeStampProvider extends 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.
  • Constructor Details

    • TimeStampProvider

      TimeStampProvider()
  • Method Details

    • getTimeStamp

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