Interface StorageEntityCache<E extends StorageEntity>

    • Method Detail

      • incrementalEntityCacheCheck

        boolean incrementalEntityCacheCheck​(long nanoTimeBudgetBound)
      • incrementalGarbageCollection

        boolean incrementalGarbageCollection​(long nanoTimeBudgetBound,
                                             StorageChannel channel)
      • issuedGarbageCollection

        boolean issuedGarbageCollection​(long nanoTimeBudgetBound,
                                        StorageChannel channel)
      • cacheSize

        long cacheSize()
      • clearCache

        long clearCache()
      • reset

        void reset()
        Description copied from interface: StorageChannelResetablePart
        Closes all resources (files, locks, etc.). Clears all variable length items (cache, registry, etc.). Resets internal state to initial values. For itself and all its parts (entity cache, file manager, etc.). Basically a "back to just being born" action.
        Specified by:
        reset in interface StorageChannelResetablePart