The MongoDB\Driver\Monitoring\TopologyClosedEvent class

(mongodb >=1.13.0)

Giriş

The MongoDB\Driver\Monitoring\TopologyClosedEvent class encapsulates information about a closed topology.

Bilginize: Due to the driver's connection handling and persistence behavior, this event can only be observed when a MongoDB\Driver\Manager is created with the "disableClientPersistence" driver option and freed before request shutdown (RSHUTDOWN).

Sınıf Sözdizimi

final class MongoDB\Driver\Monitoring\TopologyClosedEvent {
/* Özellikler */
/* Yöntemler */
}

Özellikler

topologyId
The topology ID.

Sürüm Bilgisi

Sürüm: Açıklama
PECL mongodb 2.3.0 Added public readonly properties.

İçindekiler