Public Attributes | |
int | initial_concurrent_blocking_threads |
The initial number of threads that are allowed to concurrently block on write call on the same com.rti.dds.publication.DataWriter. | |
int | max_concurrent_blocking_threads |
The maximum number of threads that are allowed to concurrently block on write call on the same com.rti.dds.publication.DataWriter. | |
int | max_remote_reader_filters |
The maximum number of remote readers for which the writer will perform content-based filtering. | |
int | max_batches |
Represents the maximum number of batches a com.rti.dds.publication.DataWriter will manage. | |
int | initial_batches |
Represents the initial number of batches a com.rti.dds.publication.DataWriter will manage. | |
int | cookie_max_length |
Represents the maximum length in bytes of a com.rti.dds.infrastructure.Cookie_t. | |
boolean | replace_empty_instances |
Whether or not to replace empty instances during instance replacement. | |
boolean | autoregister_instances |
Whether or not to automatically register new instances. | |
int | initial_virtual_writers |
The initial number of virtual writers supported by a com.rti.dds.publication.DataWriter. | |
int | max_virtual_writers |
The maximum number of virtual writers supported by a com.rti.dds.publication.DataWriter. |
DataWriters must allocate internal structures to handle the simultaneously blocking of threads trying to call com.rti.dds.topic.example.FooDataWriter.write on the same com.rti.dds.publication.DataWriter, for the storage used to batch small samples, and for content-based filters specified by DataReaders.
Most of these internal structures start at an initial size and, by default, will be grown as needed by dynamically allocating additional memory. You may set fixed, maximum sizes for these internal structures if you want to bound the amount of memory that can be used by a com.rti.dds.publication.DataWriter. By setting the initial size to the maximum size, you will prevent RTI Connext from dynamically allocating any memory after the creation of the com.rti.dds.publication.DataWriter.
This QoS policy is an extension to the DDS standard.
The initial number of threads that are allowed to concurrently block on write call on the same com.rti.dds.publication.DataWriter.
This value only applies if com.rti.dds.infrastructure.HistoryQosPolicy has its kind set to HistoryQosPolicyKind.KEEP_ALL_HISTORY_QOS and com.rti.dds.infrastructure.ReliabilityQosPolicy.max_blocking_time is > 0.
[default] 1
[range] [1, 10000], <= max_concurrent_blocking_threads
The maximum number of threads that are allowed to concurrently block on write call on the same com.rti.dds.publication.DataWriter.
This value only applies if com.rti.dds.infrastructure.HistoryQosPolicy has its kind set to HistoryQosPolicyKind.KEEP_ALL_HISTORY_QOS and com.rti.dds.infrastructure.ReliabilityQosPolicy.max_blocking_time is > 0.
[default] ResourceLimitsQosPolicy.LENGTH_UNLIMITED
[range] [1, 10000] or ResourceLimitsQosPolicy.LENGTH_UNLIMITED, >= initial_concurrent_blocking_threads
The maximum number of remote readers for which the writer will perform content-based filtering.
[default] 32
[range] [0, 32]
int max_batches |
Represents the maximum number of batches a com.rti.dds.publication.DataWriter will manage.
[default] ResourceLimitsQosPolicy.LENGTH_UNLIMITED
When batching is enabled, the maximum number of samples that a com.rti.dds.publication.DataWriter can store is limited by this value and com.rti.dds.infrastructure.ResourceLimitsQosPolicy.max_samples.
[range] [1,100 million] or ResourceLimitsQosPolicy.LENGTH_UNLIMITED >= DDS_RtpsReliableWriterProtocol_t.heartbeats_per_max_samples if batching is enabled
int initial_batches |
Represents the initial number of batches a com.rti.dds.publication.DataWriter will manage.
[default] 8
[range] [1,100 million]
Represents the maximum length in bytes of a com.rti.dds.infrastructure.Cookie_t.
[default] ResourceLimitsQosPolicy.LENGTH_UNLIMITED
Sets the maximum allowed byte-sequence length of a com.rti.dds.infrastructure.Cookie_t used when writing with parameters
[range] [1,100 million] or ResourceLimitsQosPolicy.LENGTH_UNLIMITED
boolean replace_empty_instances |
Whether or not to replace empty instances during instance replacement.
When a com.rti.dds.publication.DataWriter has more active instances than allowed by com.rti.dds.infrastructure.ResourceLimitsQosPolicy.max_instances, it tries to make room by replacing an existing instance. This field configures whether empty instances (i.e. instances with no samples) may be replaced. If set true, then a com.rti.dds.publication.DataWriter will first try reclaiming empty instances, before trying to replace whatever is specified by com.rti.dds.infrastructure.DataWriterResourceLimitsQosPolicy.instance_replacement.
[default] false
boolean autoregister_instances |
Whether or not to automatically register new instances.
[default] true
When set to true, it is possible to write with a non-NIL handle of an instance that is not registered: the write operation will succeed and the instance will be registered. Otherwise, that write operation would fail.
The initial number of virtual writers supported by a com.rti.dds.publication.DataWriter.
[default] 1
[range] [1, 1000000], or ResourceLimitsQosPolicy.LENGTH_UNLIMITED
The maximum number of virtual writers supported by a com.rti.dds.publication.DataWriter.
Sets the maximum number of unique virtual writers supported by a com.rti.dds.publication.DataWriter, where virtual writers are added when samples are written with the virtual writer GUID.
This field is specially relevant in the configuration of Persistence Service DataWriters since these DataWriters will publish samples on behalf of multiple virtual writers.
[default] ResourceLimitsQosPolicy.LENGTH_UNLIMITED
[range] [1, 1000000], or ResourceLimitsQosPolicy.LENGTH_UNLIMITED