393 _heartbeat_succeeded;
400#include <mongocxx/config/postlude.hpp>
Declares mongocxx::v_noabi::options::apm.
Class representing MongoDB application performance monitoring.
Definition apm.hpp:43
const std::function< void MONGOCXX_ABI_CDECL(const events::heartbeat_succeeded_event &)> & heartbeat_succeeded() const
Retrieves the heartbeat succeeded monitoring callback.
const std::function< void MONGOCXX_ABI_CDECL(const events::command_failed_event &)> & command_failed() const
Retrieves the command failed monitoring callback.
const std::function< void MONGOCXX_ABI_CDECL(const events::command_started_event &)> & command_started() const
Retrieves the command started monitoring callback.
apm & on_topology_opening(std::function< void MONGOCXX_ABI_CDECL(const events::topology_opening_event &)> topology_opening)
Set the topology_opening monitoring callback. The callback takes a reference to a topology_opening_ev...
apm & on_heartbeat_succeeded(std::function< void MONGOCXX_ABI_CDECL(const events::heartbeat_succeeded_event &)> heartbeat_succeeded)
Set the heartbeat succeeded monitoring callback. The callback takes a reference to a heartbeat_succee...
const std::function< void MONGOCXX_ABI_CDECL(const events::command_succeeded_event &)> & command_succeeded() const
Retrieves the command succeeded monitoring callback.
apm & on_topology_closed(std::function< void MONGOCXX_ABI_CDECL(const events::topology_closed_event &)> topology_closed)
Set the topology closed monitoring callback. The callback takes a reference to a topology_closed_even...
const std::function< void MONGOCXX_ABI_CDECL(const events::server_changed_event &)> & server_changed() const
Retrieves the server description changed monitoring callback.
apm & on_server_changed(std::function< void MONGOCXX_ABI_CDECL(const events::server_changed_event &)> server_changed)
Set the server description changed monitoring callback. The callback takes a reference to a server_ch...
apm & on_server_closed(std::function< void MONGOCXX_ABI_CDECL(const events::server_closed_event &)> server_closed)
Set the server closed monitoring callback. The callback takes a reference to a server_closed_event wh...
const std::function< void MONGOCXX_ABI_CDECL(const events::heartbeat_failed_event &)> & heartbeat_failed() const
Retrieves the heartbeat failed monitoring callback.
apm & on_command_failed(std::function< void MONGOCXX_ABI_CDECL(const events::command_failed_event &)> command_failed)
Set the command failed monitoring callback. The callback takes a reference to a command_failed_event ...
apm & on_command_started(std::function< void MONGOCXX_ABI_CDECL(const events::command_started_event &)> command_started)
Set the command started monitoring callback. The callback takes a reference to a command_started_even...
apm & on_heartbeat_failed(std::function< void MONGOCXX_ABI_CDECL(const events::heartbeat_failed_event &)> heartbeat_failed)
Set the heartbeat failed monitoring callback. The callback takes a reference to a heartbeat_failed_ev...
const std::function< void MONGOCXX_ABI_CDECL(const events::server_opening_event &)> & server_opening() const
Retrieves the server opening monitoring callback.
apm & on_server_opening(std::function< void MONGOCXX_ABI_CDECL(const events::server_opening_event &)> server_opening)
Set the server opening monitoring callback. The callback takes a reference to a server_opening_event ...
apm & on_topology_changed(std::function< void MONGOCXX_ABI_CDECL(const events::topology_changed_event &)> topology_changed)
Set the topology description changed monitoring callback. The callback takes a reference to a topolog...
const std::function< void MONGOCXX_ABI_CDECL(const events::server_closed_event &)> & server_closed() const
Retrieves the server closed monitoring callback.
apm & on_command_succeeded(std::function< void MONGOCXX_ABI_CDECL(const events::command_succeeded_event &)> command_succeeded)
Set the command succeeded monitoring callback. The callback takes a reference to a command_succeeded_...
const std::function< void MONGOCXX_ABI_CDECL(const events::topology_opening_event &)> & topology_opening() const
Retrieves the topology_opening monitoring callback.
const std::function< void MONGOCXX_ABI_CDECL(const events::topology_closed_event &)> & topology_closed() const
Retrieves the topology closed monitoring callback.
const std::function< void MONGOCXX_ABI_CDECL(const events::topology_changed_event &)> & topology_changed() const
Retrieves the topology description changed monitoring callback.
apm & on_heartbeat_started(std::function< void MONGOCXX_ABI_CDECL(const events::heartbeat_started_event &)> heartbeat_started)
Set the heartbeat started monitoring callback. The callback takes a reference to a heartbeat_started_...
const std::function< void MONGOCXX_ABI_CDECL(const events::heartbeat_started_event &)> & heartbeat_started() const
Retrieves the heartbeat started monitoring callback.
Provides mongocxx::v_noabi::events::command_failed_event.
Provides mongocxx::v_noabi::events::command_started_event.
Provides mongocxx::v_noabi::events::command_succeeded_event.
#define MONGOCXX_ABI_CDECL
Expands to __cdecl when built with MSVC on Windows.
Definition fwd.hpp:196
#define MONGOCXX_ABI_EXPORT_CDECL(...)
Equivalent to MONGOCXX_ABI_EXPORT with MONGOCXX_ABI_CDECL.
Definition fwd.hpp:204
Provides mongocxx::v_noabi::events::heartbeat_failed_event.
Provides mongocxx::v_noabi::events::heartbeat_started_event.
Provides mongocxx::v_noabi::events::heartbeat_succeeded_event.
The mongocxx macro guard prelude header.
The top-level namespace within which all mongocxx library entities are declared.
The top-level namespace reserved for the C++ standard library.
Provides mongocxx::v_noabi::events::server_changed_event.
Provides mongocxx::v_noabi::events::server_closed_event.
Provides mongocxx::v_noabi::events::server_opening_event.
Provides mongocxx::v_noabi::events::topology_changed_event.
Provides mongocxx::v_noabi::events::topology_closed_event.
Provides mongocxx::v_noabi::events::topology_opening_event.