RTI Connext Java API  Version 5.1.0
EventQosPolicy Class Reference

Settings for event. More...

Inheritance diagram for EventQosPolicy:
QosPolicy

Public Attributes

final ThreadSettings_t thread
 Event thread QoS.
 
int initial_count
 The initial number of events.
 
int max_count
 The maximum number of events.
 
- Public Attributes inherited from QosPolicy
final QosPolicyId_t id
 The ID of this QoS policy.
 
final String policy_name
 The name of this QoS policy.
 

Additional Inherited Members

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

Settings for event.

In a com.rti.dds.domain.DomainParticipant, a thread is dedicated to handle all timed events, including checking for timeouts and deadlines and executing internal and user-defined timeout or exception handling routines/callbacks.

This QoS policy allows you to configure thread properties such as priority level and stack size. You can also configure the maximum number of events that can be posted to the event thread. By default, a com.rti.dds.domain.DomainParticipant will dynamically allocate memory as needed for events posted to the event thread. However, by setting a maximum value or setting the initial and maximum value to be the same, you can either bound the amount of memory allocated for the event thread or prevent a com.rti.dds.domain.DomainParticipant from dynamically allocating memory for the event thread after initialization.

This QoS policy is an extension to the DDS standard.

Entity:
com.rti.dds.domain.DomainParticipant
Properties:
RxO = N/A
Changeable = NO

Member Data Documentation

final ThreadSettings_t thread

Event thread QoS.

There is only one event thread.

Priority:
[default] The actual value depends on your architecture:
For Windows: -2
For Linux: OS default priority
For a complete list of platform specific values, please refer to Platform Notes.

Stack Size:
[default] The actual value depends on your architecture:
For Windows: OS default stack size
For Linux: OS default stack size
For a complete list of platform specific values, please refer to Platform Notes.

Mask:
[default] mask = com.rti.dds.infrastructure.ThreadSettingsKind.THREAD_SETTINGS_FLOATING_POINT | com.rti.dds.infrastructure.ThreadSettingsKind.THREAD_SETTINGS_STDIO

int initial_count

The initial number of events.

[default] 256

[range] [1, 1 million], <= max_count

int max_count

The maximum number of events.

The maximum number of events. If the limit is reached, no new event can be added.

[default] com.rti.dds.infrastructure.ResourceLimitsQosPolicy.LENGTH_UNLIMITED

[range] [1, 1 million] or com.rti.dds.infrastructure.ResourceLimitsQosPolicy.LENGTH_UNLIMITED, >= initial_count


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