Class PersistentMap.ValueInfo
- java.lang.Object
-
- jadex.binary.persistent.collections.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.
-
-
-
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.
-
-