Class Properties

java.lang.Object
org.rostore.v2.seq.Properties

public class Properties extends Object
  • Field Details

    • MIN_FREE_BLOCK_NUMBER

      public static final int MIN_FREE_BLOCK_NUMBER
      Minimum 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_NUMBER
      Maximum 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_NUMBER
      The 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()