Class CacheIndexFile

java.lang.Object
net.adoptopenjdk.icedteaweb.resources.cache.CacheIndexFile

class CacheIndexFile extends Object
Class to interface with the LRU cache index file.

The following restriction are enforced by the class: - loading and saving can only be done when locked - reading and changing the entities can only be done after loading

  • Field Details

    • LINE_END

      private static final String LINE_END
      See Also:
    • lockableFile

      private final LockableFile lockableFile
    • unsavedActions

      private final List<CacheAction> unsavedActions
    • lastLoadOrStore

      private long lastLoadOrStore
      time of last modification, lazy loaded on getProperty
    • requestCompression

      private boolean requestCompression
    • entries

      private final CacheIndexEntries entries
  • Constructor Details

    • CacheIndexFile

      CacheIndexFile(File file)
    • CacheIndexFile

      CacheIndexFile(LockableFile lockableFile)
  • Method Details