Interface FileCache.Expiration<T>

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      boolean isExpired​(java.io.File file, java.lang.Long cacheTime, T item)
      Return true if the item associated with the file has expired, given the last timestamp associated with the item
    • Method Detail

      • isExpired

        boolean isExpired​(java.io.File file,
                          java.lang.Long cacheTime,
                          T item)
        Return true if the item associated with the file has expired, given the last timestamp associated with the item
        Parameters:
        file - the file
        cacheTime - the time the item was last cached
        item - the cached item
        Returns:
        true if the item should expire