Table of Contents

Class SystemProfileReadWriteLockStatistics

Namespace
MongoDB.Driver
Assembly
MongoDB.Driver.Legacy.dll

Statistics about system.profile read and write time spent in locks.

[Serializable]
[BsonSerializer(typeof(SystemProfileReadWriteLockStatisticsSerializer))]
public class SystemProfileReadWriteLockStatistics : BsonDocumentBackedClass
Inheritance
SystemProfileReadWriteLockStatistics
Inherited Members
Extension Methods

Constructors

SystemProfileReadWriteLockStatistics()

Initializes a new instance of the SystemProfileReadWriteLockStatistics class.

public SystemProfileReadWriteLockStatistics()

Properties

DatabaseReadLock

Gets or sets the time spent acquiring or holding the database read lock.

public TimeSpan DatabaseReadLock { get; set; }

Property Value

TimeSpan

DatabaseWriteLock

Gets or sets the time spent acquiring or holding the database write lock.

public TimeSpan DatabaseWriteLock { get; set; }

Property Value

TimeSpan

GlobalReadLock

Gets or sets the time spent acquiring or holding the gobal read lock.

public TimeSpan GlobalReadLock { get; set; }

Property Value

TimeSpan

GlobalWriteLock

Gets or sets the time spent acquiring or holding the global write lock.

public TimeSpan GlobalWriteLock { get; set; }

Property Value

TimeSpan

RawDocument

Gets the raw document.

public BsonDocument RawDocument { get; }

Property Value

BsonDocument

Read

Gets or sets the time spent acquiring or holding the read lock.

[Obsolete("Use DatabaseReadLock or GlobalReadLock instead.")]
public TimeSpan Read { get; set; }

Property Value

TimeSpan

Write

Gets or sets the time spent acquiring or holding the write lock.

[Obsolete("Use DatabaseWriteLock or GlobalWriteLock instead.")]
public TimeSpan Write { get; set; }

Property Value

TimeSpan