RTI Connext Java API  Version 6.1.0

Resource allocation settings. More...

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. More...
 

Public Attributes

int initial_count
 The initial count of resources. More...
 
int max_count
 The maximum count of resources. More...
 
int incremental_count
 The incremental count of resources. More...
 

Detailed Description

Constructor & Destructor Documentation

◆ AllocationSettings_t()

AllocationSettings_t ( int  initial_count,
int  max_count,
int  incremental_count 
)

Constructor with the given initial, maximum and incremental values.

References AllocationSettings_t.incremental_count, AllocationSettings_t.initial_count, and AllocationSettings_t.max_count.

Member Data Documentation

◆ initial_count

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)

Referenced by AllocationSettings_t.AllocationSettings_t().

◆ max_count

int max_count

The maximum count of resources.

The maximum resources to be allocated.

[default] Depends on the case.

[range] [1, 1 million] or com.rti.dds.infrastructure.ResourceLimitsQosPolicy.LENGTH_UNLIMITED, > initial_count (or = initial_count only if increment_count == 0)

Referenced by AllocationSettings_t.AllocationSettings_t().

◆ incremental_count

int incremental_count

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)

Referenced by AllocationSettings_t.AllocationSettings_t().