Class PersistentMap.ValueInfo
java.lang.Object
jadex.binary.persistent.collections.PersistentMap.ValueInfo
- Enclosing class:
PersistentMap<K,
V>
Information about a stored value.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected 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 -
Method Summary
Modifier and TypeMethodDescriptionlong
Gets the kvposition.int
Gets the kvsize.long
Gets the position.int
getSize()
Gets the size.
-
Field Details
-
position
protected long positionPosition of the value within the file. -
size
protected int sizeSize of the value in the file. -
kvposition
protected long kvpositionPosition of the whole key-value pair. -
kvsize
protected int kvsizeSize 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.
-