Interface StorageDataFile<I extends StorageEntityCacheItem<I>>

    • Method Detail

      • prependEntry

        void prependEntry​(I entry)
      • appendEntry

        void appendEntry​(I entry)
      • loadEntityData

        void loadEntityData​(I entity,
                            long length,
                            long cacheChange)
      • totalLength

        long totalLength()
      • dataLength

        long dataLength()
      • dataFillRatio

        double dataFillRatio()
      • exportTo

        long exportTo​(StorageLockedFile file,
                      long sourceOffset,
                      long length)
      • isHeadFile

        boolean isHeadFile()
      • hasSingleEntity

        boolean hasSingleEntity()
        Querying method to check if a storage file consists of only one singular live entity. This is necessary to avoid dissolving files that are oversized because of one single oversized entity.
        Returns:
        true if the file containts exactely one live entity.