Class PersistentMap.ValueInfo

  • Enclosing class:
    PersistentMap<K,​V>

    protected class PersistentMap.ValueInfo
    extends java.lang.Object
    Information about a stored value.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      protected long kvposition
      Position of the whole key-value pair.
      protected int kvsize
      Size of the whole key-value pair.
      protected long position
      Position of the value within the file.
      protected int size
      Size of the value in the file.
    • Constructor Summary

      Constructors 
      Constructor Description
      ValueInfo​(long pos, int size, long kvpos, int kvsize)
      Creates the info.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      long getKvPosition()
      Gets the kvposition.
      int getKvSize()
      Gets the kvsize.
      long getPosition()
      Gets the position.
      int getSize()
      Gets the size.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • position

        protected long position
        Position of the value within the file.
      • size

        protected int size
        Size of the value in the file.
      • kvposition

        protected long kvposition
        Position of the whole key-value pair.
      • kvsize

        protected int kvsize
        Size of the whole key-value pair.
    • Constructor Detail

      • ValueInfo

        public ValueInfo​(long pos,
                         int size,
                         long kvpos,
                         int kvsize)
        Creates the info.
    • Method Detail

      • getPosition

        public long getPosition()
        Gets the position.
        Returns:
        The position.
      • getSize

        public int getSize()
        Gets the size.
        Returns:
        The size.
      • getKvPosition

        public long getKvPosition()
        Gets the kvposition.
        Returns:
        The kvposition.
      • getKvSize

        public int getKvSize()
        Gets the kvsize.
        Returns:
        The kvsize.