RTI Connext C# API Version 7.2.0
Rti.Dds.Core.Policy.Database Class Reference

Configures various threads and resource limits used to control the internal database. More...

Inherits IEquatable< Database >.

Public Member Functions

Database With (Action< DatabaseBuilder > build)
 Creates a new Database with a set of changes specified in an Action More...
 
override int GetHashCode ()
 Gets the hash code More...
 
override bool Equals (object other)
 Compares for equality More...
 
bool Equals (Database other)
 Compares for equality More...
 

Data Fields

ThreadSettings Thread
 Database thread settings. More...
 
Duration ShutdownTimeout
 The maximum wait time during a shutdown. More...
 
Duration CleanupPeriod
 The database thread will wake up at this rate to clean up the database. More...
 
Duration ShutdownCleanupPeriod
 The clean-up period used during database shut-down. More...
 
int InitialRecords
 The initial number of total records. More...
 
int MaxSkiplistLevel
 The maximum level of the skiplist. More...
 
int MaxWeakReferences
 The maximum number of weak references. More...
 
int InitialWeakReferences
 The initial number of weak references. More...
 

Properties

static Database Default = CreateDefault() [get]
 Singleton containing the default value of a Database More...
 

Detailed Description

Configures various threads and resource limits used to control the internal database.

Member Function Documentation

◆ With()

Database Rti.Dds.Core.Policy.Database.With ( Action< DatabaseBuilder build)
inline

Creates a new Database with a set of changes specified in an Action

Parameters
buildAn Action (typically a lambda function) that receives a modifiable object with the current values of this Database.
Returns
A new Database with the changes applied by the Action

◆ GetHashCode()

override int Rti.Dds.Core.Policy.Database.GetHashCode ( )
inline

Gets the hash code

◆ Equals() [1/2]

override bool Rti.Dds.Core.Policy.Database.Equals ( object  other)

Compares for equality

◆ Equals() [2/2]

bool Rti.Dds.Core.Policy.Database.Equals ( Database  other)
inline

Compares for equality

Field Documentation

◆ Thread

ThreadSettings Rti.Dds.Core.Policy.Database.Thread

Database thread settings.

The full documentation is available in the C API: DDS_DatabaseQosPolicy_thread

◆ ShutdownTimeout

Duration Rti.Dds.Core.Policy.Database.ShutdownTimeout

The maximum wait time during a shutdown.

The full documentation is available in the C API: DDS_DatabaseQosPolicy_shutdown_timeout

◆ CleanupPeriod

Duration Rti.Dds.Core.Policy.Database.CleanupPeriod

The database thread will wake up at this rate to clean up the database.

The full documentation is available in the C API: DDS_DatabaseQosPolicy_cleanup_period

◆ ShutdownCleanupPeriod

Duration Rti.Dds.Core.Policy.Database.ShutdownCleanupPeriod

The clean-up period used during database shut-down.

The full documentation is available in the C API: DDS_DatabaseQosPolicy_shutdown_cleanup_period

◆ InitialRecords

int Rti.Dds.Core.Policy.Database.InitialRecords

The initial number of total records.

The full documentation is available in the C API: DDS_DatabaseQosPolicy_initial_records

◆ MaxSkiplistLevel

int Rti.Dds.Core.Policy.Database.MaxSkiplistLevel

The maximum level of the skiplist.

The full documentation is available in the C API: DDS_DatabaseQosPolicy_max_skiplist_level

◆ MaxWeakReferences

int Rti.Dds.Core.Policy.Database.MaxWeakReferences

The maximum number of weak references.

The full documentation is available in the C API: DDS_DatabaseQosPolicy_max_weak_references

◆ InitialWeakReferences

int Rti.Dds.Core.Policy.Database.InitialWeakReferences

The initial number of weak references.

The full documentation is available in the C API: DDS_DatabaseQosPolicy_initial_weak_references

Property Documentation

◆ Default

Database Rti.Dds.Core.Policy.Database.Default = CreateDefault()
staticget

Singleton containing the default value of a Database