RTI Connext C# API  6.1.2
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...
 

Public Attributes

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 [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

◆ Equals() [1/2]

bool Equals ( Database  other)

Compares for equality

◆ Equals() [2/2]

override bool Equals ( object  other)

Compares for equality

◆ GetHashCode()

override int GetHashCode ( )

Gets the hash code

◆ With()

Database With ( Action< DatabaseBuilder build)

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

Member Data Documentation

◆ CleanupPeriod

Duration 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

◆ InitialRecords

int InitialRecords

The initial number of total records.

The full documentation is available in the C API: DDS_DatabaseQosPolicy::initial_records

◆ InitialWeakReferences

int InitialWeakReferences

The initial number of weak references.

The full documentation is available in the C API: DDS_DatabaseQosPolicy::initial_weak_references

◆ MaxSkiplistLevel

int MaxSkiplistLevel

The maximum level of the skiplist.

The full documentation is available in the C API: DDS_DatabaseQosPolicy::max_skiplist_level

◆ MaxWeakReferences

int MaxWeakReferences

The maximum number of weak references.

The full documentation is available in the C API: DDS_DatabaseQosPolicy::max_weak_references

◆ ShutdownCleanupPeriod

Duration ShutdownCleanupPeriod

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

The full documentation is available in the C API: DDS_DatabaseQosPolicy::shutdown_cleanup_period

◆ ShutdownTimeout

Duration ShutdownTimeout

The maximum wait time during a shutdown.

The full documentation is available in the C API: DDS_DatabaseQosPolicy::shutdown_timeout

◆ Thread

Database thread settings.

The full documentation is available in the C API: DDS_DatabaseQosPolicy::thread

Property Documentation

◆ Default

Database Default
staticget

Singleton containing the default value of a Database