Class Properties

java.lang.Object
org.rostore.v2.media.block.allocator.Properties

public class Properties extends Object
  • Field Details

    • ROOT_ALLOCATOR_NAME

      public static final String ROOT_ALLOCATOR_NAME
      Name of the root allocator
      See Also:
    • ROOT_ALLOCATOR_CACHE_MIN_SIZE

      public static final int ROOT_ALLOCATOR_CACHE_MIN_SIZE
      The minimum number of blocks that is allocated in advance in the root allocator's cache
      See Also:
    • ROOT_ALLOCATOR_CACHE_MAX_SIZE

      public static final int ROOT_ALLOCATOR_CACHE_MAX_SIZE
      The maximum number of blocks that is allocated in advance in the root allocator's cache
      See Also:
    • ROOT_ALLOCATOR_MIN_BUFFER

      public static final int ROOT_ALLOCATOR_MIN_BUFFER
      The minimum number of blocks that the root allocator should maintain.

      It is needed to prevent overbooking in parallel processes.

      See Also:
    • SECONDARY_ALLOCATOR_CACHE_MIN_SIZE

      public static final int SECONDARY_ALLOCATOR_CACHE_MIN_SIZE
      The minimum number of blocks that is allocated in advance in the secondary allocator's cache.

      Should be 0 otherwise it will start extracting on remove operation.

      See Also:
    • SECONDARY_ALLOCATOR_CACHE_MAX_SIZE

      public static final int SECONDARY_ALLOCATOR_CACHE_MAX_SIZE
      The maximum number of blocks that is allocated in advance in the secondary allocator's cache
      See Also:
    • SECONDARY_ALLOCATOR_MIN_BUFFER

      public static final int SECONDARY_ALLOCATOR_MIN_BUFFER
      The minimum number of blocks that the secondary allocator should maintain.

      It is needed to prevent overbooking in parallel processes.

      See Also:
  • Constructor Details

    • Properties

      public Properties()