ConFoo 2025

The MongoDB\Driver\Monitoring\TopologyClosedEvent class

(mongodb >=1.13.0)

Introduction

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

Note: 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).

Class synopsis

final class MongoDB\Driver\Monitoring\TopologyClosedEvent {
/* Methods */
}

Table of Contents

add a note

User Contributed Notes

There are no user contributed notes for this page.
To Top