Class CacheEntry


  • public class CacheEntry
    extends java.lang.Object
    • Field Detail

      • offset

        protected final long offset
      • size

        protected int size
      • buffer_pos

        protected int buffer_pos
      • buffer_limit

        protected int buffer_limit
      • dirty

        protected boolean dirty
      • last_used

        protected long last_used
      • entry_type

        protected int entry_type
      • usage_count

        protected int usage_count
    • Constructor Detail

      • CacheEntry

        CacheEntry​(long offset)
        Constructs a dummy cache entry used to search in a Set
        Parameters:
        offset -
    • Method Detail

      • getFilePosition

        public long getFilePosition()
      • getLength

        public int getLength()
      • isDirty

        public boolean isDirty()
      • setClean

        public void setClean()
      • resetBufferPosition

        protected void resetBufferPosition()
      • used

        protected void used()
      • getLastUsed

        protected long getLastUsed()
      • getUsageCount

        protected int getUsageCount()
      • getType

        protected int getType()
      • getString

        protected java.lang.String getString()