Table of Contents

Struct ConnectionPoolCheckedInConnectionEvent

Namespace
MongoDB.Driver.Core.Events
Assembly
MongoDB.Driver.Core.dll

Occurs after a connection is checked in to the pool.

public struct ConnectionPoolCheckedInConnectionEvent
Inherited Members

Constructors

ConnectionPoolCheckedInConnectionEvent(ConnectionId, TimeSpan, long?)

Initializes a new instance of the ConnectionPoolCheckedInConnectionEvent struct.

public ConnectionPoolCheckedInConnectionEvent(ConnectionId connectionId, TimeSpan duration, long? operationId)

Parameters

connectionId ConnectionId

The connection identifier.

duration TimeSpan

The duration of time it took to check in the connection.

operationId long?

The operation identifier.

Properties

ClusterId

Gets the cluster identifier.

public ClusterId ClusterId { get; }

Property Value

ClusterId

ConnectionId

Gets the connection identifier.

public ConnectionId ConnectionId { get; }

Property Value

ConnectionId

Duration

Gets the duration of time it took to check in the connection.

public TimeSpan Duration { get; }

Property Value

TimeSpan

OperationId

Gets the operation identifier.

public long? OperationId { get; }

Property Value

long?

ServerId

Gets the server identifier.

public ServerId ServerId { get; }

Property Value

ServerId

Timestamp

Gets the timestamp.

public DateTime Timestamp { get; }

Property Value

DateTime