mirror of
https://github.com/sigmasternchen/php-doc-en
synced 2025-03-15 08:28:54 +00:00
getServerConnectionId for MongoDB command monitoring events
https://jira.mongodb.org/browse/PHPC-1899
This commit is contained in:
parent
45ffa94e7e
commit
d6b1dd7035
4 changed files with 201 additions and 0 deletions
|
@ -0,0 +1,66 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- $Revision$ -->
|
||||
|
||||
<refentry xml:id="mongodb-driver-monitoring-commandfailedevent.getserverconnectionid" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
|
||||
<refnamediv>
|
||||
<refname>MongoDB\Driver\Monitoring\CommandFailedEvent::getServerConnectionId</refname>
|
||||
<refpurpose>Returns the server connection ID for the command</refpurpose>
|
||||
</refnamediv>
|
||||
|
||||
<refsect1 role="description">
|
||||
&reftitle.description;
|
||||
<methodsynopsis>
|
||||
<modifier>final</modifier> <modifier>public</modifier> <type class="union"><type>int</type><type>null</type></type><methodname>MongoDB\Driver\Monitoring\CommandFailedEvent::getServerConnectionId</methodname>
|
||||
<void />
|
||||
</methodsynopsis>
|
||||
<para>
|
||||
Returns the server connection ID for the command. The server connection ID is
|
||||
distinct from server (i.e.
|
||||
<function>MongoDB\Driver\Monitoring\CommandFailedEvent::getServer</function>)
|
||||
and is returned in the "connectionId" field of a <literal>hello</literal>
|
||||
command response MongoDB 4.2+.
|
||||
</para>
|
||||
</refsect1>
|
||||
|
||||
<refsect1 role="parameters">
|
||||
&reftitle.parameters;
|
||||
&no.function.parameters;
|
||||
</refsect1>
|
||||
|
||||
<refsect1 role="returnvalues">
|
||||
&reftitle.returnvalues;
|
||||
<para>
|
||||
Returns the server connection ID, or &null; if it is not available.
|
||||
</para>
|
||||
</refsect1>
|
||||
|
||||
<refsect1 role="errors">
|
||||
&reftitle.errors;
|
||||
<simplelist>
|
||||
&mongodb.throws.argumentparsing;
|
||||
</simplelist>
|
||||
</refsect1>
|
||||
|
||||
</refentry>
|
||||
|
||||
<!-- Keep this comment at the end of the file
|
||||
Local variables:
|
||||
mode: sgml
|
||||
sgml-omittag:t
|
||||
sgml-shorttag:t
|
||||
sgml-minimize-attributes:nil
|
||||
sgml-always-quote-attributes:t
|
||||
sgml-indent-step:1
|
||||
sgml-indent-data:t
|
||||
indent-tabs-mode:nil
|
||||
sgml-parent-document:nil
|
||||
sgml-default-dtd-file:"~/.phpdoc/manual.ced"
|
||||
sgml-exposed-tags:nil
|
||||
sgml-local-catalogs:nil
|
||||
sgml-local-ecat-files:nil
|
||||
End:
|
||||
vim600: syn=xml fen fdm=syntax fdl=2 si
|
||||
vim: et tw=78 syn=sgml
|
||||
vi: ts=1 sw=1
|
||||
-->
|
||||
|
|
@ -0,0 +1,66 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- $Revision$ -->
|
||||
|
||||
<refentry xml:id="mongodb-driver-monitoring-commandstartedevent.getserverconnectionid" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
|
||||
<refnamediv>
|
||||
<refname>MongoDB\Driver\Monitoring\CommandStartedEvent::getServerConnectionId</refname>
|
||||
<refpurpose>Returns the server connection ID for the command</refpurpose>
|
||||
</refnamediv>
|
||||
|
||||
<refsect1 role="description">
|
||||
&reftitle.description;
|
||||
<methodsynopsis>
|
||||
<modifier>final</modifier> <modifier>public</modifier> <type class="union"><type>int</type><type>null</type></type><methodname>MongoDB\Driver\Monitoring\CommandStartedEvent::getServerConnectionId</methodname>
|
||||
<void />
|
||||
</methodsynopsis>
|
||||
<para>
|
||||
Returns the server connection ID for the command. The server connection ID is
|
||||
distinct from server (i.e.
|
||||
<function>MongoDB\Driver\Monitoring\CommandStartedEvent::getServer</function>)
|
||||
and is returned in the "connectionId" field of a <literal>hello</literal>
|
||||
command response MongoDB 4.2+.
|
||||
</para>
|
||||
</refsect1>
|
||||
|
||||
<refsect1 role="parameters">
|
||||
&reftitle.parameters;
|
||||
&no.function.parameters;
|
||||
</refsect1>
|
||||
|
||||
<refsect1 role="returnvalues">
|
||||
&reftitle.returnvalues;
|
||||
<para>
|
||||
Returns the server connection ID, or &null; if it is not available.
|
||||
</para>
|
||||
</refsect1>
|
||||
|
||||
<refsect1 role="errors">
|
||||
&reftitle.errors;
|
||||
<simplelist>
|
||||
&mongodb.throws.argumentparsing;
|
||||
</simplelist>
|
||||
</refsect1>
|
||||
|
||||
</refentry>
|
||||
|
||||
<!-- Keep this comment at the end of the file
|
||||
Local variables:
|
||||
mode: sgml
|
||||
sgml-omittag:t
|
||||
sgml-shorttag:t
|
||||
sgml-minimize-attributes:nil
|
||||
sgml-always-quote-attributes:t
|
||||
sgml-indent-step:1
|
||||
sgml-indent-data:t
|
||||
indent-tabs-mode:nil
|
||||
sgml-parent-document:nil
|
||||
sgml-default-dtd-file:"~/.phpdoc/manual.ced"
|
||||
sgml-exposed-tags:nil
|
||||
sgml-local-catalogs:nil
|
||||
sgml-local-ecat-files:nil
|
||||
End:
|
||||
vim600: syn=xml fen fdm=syntax fdl=2 si
|
||||
vim: et tw=78 syn=sgml
|
||||
vi: ts=1 sw=1
|
||||
-->
|
||||
|
|
@ -0,0 +1,66 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- $Revision$ -->
|
||||
|
||||
<refentry xml:id="mongodb-driver-monitoring-commandsucceededevent.getserverconnectionid" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
|
||||
<refnamediv>
|
||||
<refname>MongoDB\Driver\Monitoring\CommandSucceededEvent::getServerConnectionId</refname>
|
||||
<refpurpose>Returns the server connection ID for the command</refpurpose>
|
||||
</refnamediv>
|
||||
|
||||
<refsect1 role="description">
|
||||
&reftitle.description;
|
||||
<methodsynopsis>
|
||||
<modifier>final</modifier> <modifier>public</modifier> <type class="union"><type>int</type><type>null</type></type><methodname>MongoDB\Driver\Monitoring\CommandSucceededEvent::getServerConnectionId</methodname>
|
||||
<void />
|
||||
</methodsynopsis>
|
||||
<para>
|
||||
Returns the server connection ID for the command. The server connection ID is
|
||||
distinct from server (i.e.
|
||||
<function>MongoDB\Driver\Monitoring\CommandSucceededEvent::getServer</function>)
|
||||
and is returned in the "connectionId" field of a <literal>hello</literal>
|
||||
command response MongoDB 4.2+.
|
||||
</para>
|
||||
</refsect1>
|
||||
|
||||
<refsect1 role="parameters">
|
||||
&reftitle.parameters;
|
||||
&no.function.parameters;
|
||||
</refsect1>
|
||||
|
||||
<refsect1 role="returnvalues">
|
||||
&reftitle.returnvalues;
|
||||
<para>
|
||||
Returns the server connection ID, or &null; if it is not available.
|
||||
</para>
|
||||
</refsect1>
|
||||
|
||||
<refsect1 role="errors">
|
||||
&reftitle.errors;
|
||||
<simplelist>
|
||||
&mongodb.throws.argumentparsing;
|
||||
</simplelist>
|
||||
</refsect1>
|
||||
|
||||
</refentry>
|
||||
|
||||
<!-- Keep this comment at the end of the file
|
||||
Local variables:
|
||||
mode: sgml
|
||||
sgml-omittag:t
|
||||
sgml-shorttag:t
|
||||
sgml-minimize-attributes:nil
|
||||
sgml-always-quote-attributes:t
|
||||
sgml-indent-step:1
|
||||
sgml-indent-data:t
|
||||
indent-tabs-mode:nil
|
||||
sgml-parent-document:nil
|
||||
sgml-default-dtd-file:"~/.phpdoc/manual.ced"
|
||||
sgml-exposed-tags:nil
|
||||
sgml-local-catalogs:nil
|
||||
sgml-local-ecat-files:nil
|
||||
End:
|
||||
vim600: syn=xml fen fdm=syntax fdl=2 si
|
||||
vim: et tw=78 syn=sgml
|
||||
vi: ts=1 sw=1
|
||||
-->
|
||||
|
|
@ -239,6 +239,7 @@
|
|||
<function name='mongodb\driver\monitoring\commandfailedevent::getreply' from='mongodb >=1.5.0'/>
|
||||
<function name='mongodb\driver\monitoring\commandfailedevent::getrequestid' from='mongodb >=1.3.0'/>
|
||||
<function name='mongodb\driver\monitoring\commandfailedevent::getserver' from='mongodb >=1.3.0'/>
|
||||
<function name='mongodb\driver\monitoring\commandfailedevent::getserverconnectionid' from='mongodb >=1.14.0'/>
|
||||
<function name='mongodb\driver\monitoring\commandfailedevent::getserviceid' from='mongodb >=1.11.0'/>
|
||||
|
||||
<function name='mongodb\driver\monitoring\commandstartedevent' from='mongodb >=1.3.0'/>
|
||||
|
@ -248,6 +249,7 @@
|
|||
<function name='mongodb\driver\monitoring\commandstartedevent::getoperationid' from='mongodb >=1.3.0'/>
|
||||
<function name='mongodb\driver\monitoring\commandstartedevent::getrequestid' from='mongodb >=1.3.0'/>
|
||||
<function name='mongodb\driver\monitoring\commandstartedevent::getserver' from='mongodb >=1.3.0'/>
|
||||
<function name='mongodb\driver\monitoring\commandstartedevent::getserverconnectionid' from='mongodb >=1.14.0'/>
|
||||
<function name='mongodb\driver\monitoring\commandstartedevent::getserviceid' from='mongodb >=1.11.0'/>
|
||||
|
||||
<function name='mongodb\driver\monitoring\commandsucceededevent' from='mongodb >=1.3.0'/>
|
||||
|
@ -257,6 +259,7 @@
|
|||
<function name='mongodb\driver\monitoring\commandsucceededevent::getreply' from='mongodb >=1.3.0'/>
|
||||
<function name='mongodb\driver\monitoring\commandsucceededevent::getrequestid' from='mongodb >=1.3.0'/>
|
||||
<function name='mongodb\driver\monitoring\commandsucceededevent::getserver' from='mongodb >=1.3.0'/>
|
||||
<function name='mongodb\driver\monitoring\commandsucceededevent::getserverconnectionid' from='mongodb >=1.14.0'/>
|
||||
<function name='mongodb\driver\monitoring\commandsucceededevent::getserviceid' from='mongodb >=1.11.0'/>
|
||||
|
||||
<function name='mongodb\driver\monitoring\serverchangedevent' from='mongodb >=1.13.0'/>
|
||||
|
|
Loading…
Reference in a new issue