Package org.rostore.v2.seq
Class Properties
java.lang.Object
org.rostore.v2.seq.Properties
-
Field Summary
Modifier and TypeFieldDescriptionstatic final int
The expected number of free blocks the sequence should preferably have.static final int
Maximum number of free blocks that the sequence should keep for the internal purposes of on-the-fly allocation.static final int
Minimum number of free blocks that the sequence should keep for the internal purposes of on-the-fly allocation. -
Constructor Summary
-
Method Summary
-
Field Details
-
MIN_FREE_BLOCK_NUMBER
public static final int MIN_FREE_BLOCK_NUMBERMinimum number of free blocks that the sequence should keep for the internal purposes of on-the-fly allocation.If after some operation the sequence would be left with less than this number, a special rebalancing will be executed to allocate the blocks.
- See Also:
-
MAX_FREE_BLOCK_NUMBER
public static final int MAX_FREE_BLOCK_NUMBERMaximum number of free blocks that the sequence should keep for the internal purposes of on-the-fly allocation.If after some operation the sequence would be left with more than this number, a special rebalancing will be executed to remove the blocks from the sequence.
- See Also:
-
AVG_FREE_BLOCK_NUMBER
public static final int AVG_FREE_BLOCK_NUMBERThe expected number of free blocks the sequence should preferably have.Used when the sequence is created or rebalancing is executed.
- See Also:
-
-
Constructor Details
-
Properties
public Properties()
-