Class Properties
java.lang.Object
org.rostore.v2.media.block.allocator.Properties
-
Field Summary
Modifier and TypeFieldDescriptionstatic final int
The maximum number of blocks that is allocated in advance in the root allocator's cachestatic final int
The minimum number of blocks that is allocated in advance in the root allocator's cachestatic final int
The minimum number of blocks that the root allocator should maintain.static final String
Name of the root allocatorstatic final int
The maximum number of blocks that is allocated in advance in the secondary allocator's cachestatic final int
The minimum number of blocks that is allocated in advance in the secondary allocator's cache.static final int
The minimum number of blocks that the secondary allocator should maintain. -
Constructor Summary
-
Method Summary
-
Field Details
-
ROOT_ALLOCATOR_NAME
Name of the root allocator- See Also:
-
ROOT_ALLOCATOR_CACHE_MIN_SIZE
public static final int ROOT_ALLOCATOR_CACHE_MIN_SIZEThe 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_SIZEThe 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_BUFFERThe 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_SIZEThe 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_SIZEThe 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_BUFFERThe 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()
-