RTI Connext Java API  Version 5.1.0
AllocationSettings_t Class Reference

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.
 
- Public Member Functions inherited from Struct
abstract boolean equals (Object obj)
 
abstract int hashCode ()
 
String toString ()
 

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.
 

Additional Inherited Members

- Protected Member Functions inherited from Struct
 Struct ()
 
abstract void pull_from_nativeI (long native_status)
 
abstract void push_to_nativeI (long native_status)
 

Detailed Description

Constructor & Destructor Documentation

AllocationSettings_t ( int  initial_count,
int  max_count,
int  incremental_count 
)

Constructor with the given initial, maximum and incremental values.

Member Data Documentation

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 com.rti.dds.infrastructure.ResourceLimitsQosPolicy.LENGTH_UNLIMITED, > initial_count (or = initial_count only if increment_count == 0)

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)


RTI Connext Java API Version 5.1.0 Copyright © Mon Feb 3 2014 Real-Time Innovations, Inc