Class FileMetadata


  • public final class FileMetadata
    extends Object
    Header for Lucene files. Store only basic info about file. File data is divided into byte[] chunks and stored under ChunkCacheKey
    Since:
    4.0
    Author:
    Lukasz Moren
    See Also:
    FileCacheKey
    • Constructor Detail

      • FileMetadata

        public FileMetadata​(int bufferSize)
    • Method Detail

      • getSize

        public long getSize()
      • setSize

        public void setSize​(long size)
      • getBufferSize

        public int getBufferSize()
      • getNumberOfChunks

        public int getNumberOfChunks()
      • isMultiChunked

        public boolean isMultiChunked()
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object