Interface MCRCache.ModifiedHandle

All Known Implementing Classes:
MCRXMLResource.ResourceModifiedHandle
Enclosing class:
MCRCache<K,V>

public static interface MCRCache.ModifiedHandle
Author:
Thomas Scheffler (yagee)
  • Method Summary

    Modifier and Type
    Method
    Description
    long
    check distance in ms.
    long
    returns timestamp when the cache value was last modified.
  • Method Details

    • getCheckPeriod

      long getCheckPeriod()
      check distance in ms. After this period of time use getLastModified() to check if object is still up-to-date.
    • getLastModified

      long getLastModified() throws IOException
      returns timestamp when the cache value was last modified.
      Throws:
      IOException