Class PersistentMap.ValueInfo

java.lang.Object
jadex.binary.persistent.collections.PersistentMap.ValueInfo
Enclosing class:
PersistentMap<K,V>

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

    Fields
    Modifier and Type
    Field
    Description
    protected long
    Position of the whole key-value pair.
    protected int
    Size of the whole key-value pair.
    protected long
    Position of the value within the file.
    protected int
    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

    Modifier and Type
    Method
    Description
    long
    Gets the kvposition.
    int
    Gets the kvsize.
    long
    Gets the position.
    int
    Gets the size.

    Methods inherited from class java.lang.Object

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

    • 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 Details

    • ValueInfo

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

    • 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.