Inherits Struct.
Public Member Functions | |
AllocationSettings_t (int initial_count, int max_count, int incremental_count) | |
Constructor with the given initial, maximum and incremental values. | |
Public Attributes | |
int | initial_count |
The initial count of resources. | |
int | max_count |
The maximum count of resources. | |
int | incremental_count |
The incremental count of resources. |
AllocationSettings_t | ( | int | initial_count, | |
int | max_count, | |||
int | incremental_count | |||
) |
Constructor with the given initial, maximum and incremental values.
int initial_count |
The initial count of resources.
The initial resources to be allocated.
[default] It depends on the case.
[range] [0, 1 million], < max_count, (or = max_count only if increment_count == 0)
int max_count |
The maximum count of resources.
The maximum resources to be allocated.
[default] Depends on the case.
[range] [1, 1 million] or ResourceLimitsQosPolicy.LENGTH_UNLIMITED, > initial_count (or = initial_count only if increment_count == 0)
The incremental count of resources.
The resource to be allocated when more resources are needed.
[default] Depends on the case.
[range] -1 (Double the amount of extra memory allocated each time memory is needed) or [1,1 million] (or = 0 only if initial_count == max_count)