123456789_123456789_123456789_123456789_123456789_

Class: Mongo::Error::ConnectionCheckOutTimeout

Relationships & Source Files
Super Chains via Extension / Inclusion / Inheritance
Class Chain:
self, Timeout::Error
Instance Chain:
self, Timeout::Error
Inherits: Timeout::Error
  • Object
Defined in: lib/mongo/error/connection_check_out_timeout.rb

Overview

Note:

For backwards compatibility reasons this class derives from Timeout::Error rather than ::Mongo::Error.

Exception raised when trying to check out a connection from a connection pool, the pool is at its max size and no connections become available within the configured wait timeout.

Since:

  • 2.9.0

Class Method Summary

Instance Attribute Summary

Instance Attribute Details

#addressMongo::Address (readonly)

Returns:

  • (Mongo::Address)

    address The address of the server the pool’s connections connect to.

Since:

  • 2.9.0

[ GitHub ]

  
# File 'lib/mongo/error/connection_check_out_timeout.rb', line 35

attr_reader :address