Interface ObjectResource

All Superinterfaces:
AutoCloseable

public interface ObjectResource extends AutoCloseable
  • Method Details

    • fetchRecencyStatus

      PathDiffState fetchRecencyStatus()
      Binds the lifetime of the content to this object: Claimed content will not be evicted from the content cache and will thus not spill to disk. Content will remain in memory which prevents possible throttling (quick successions of access, loading, eviction causing the next access to load again) Calling AutoCloseable.close() unclaims content.
    • loadNewInstance

      Object loadNewInstance()
    • save

      void save(Object obj)