123456789_123456789_123456789_123456789_123456789_

Class: Mongo::Server::Description::LoadBalancer

Relationships & Source Files
Inherits: Object
Defined in: lib/mongo/server/description/load_balancer.rb

Overview

Represents an assumed description of servers behind load balancers.

Since:

  • 2.0.0

Class Method Summary

Instance Attribute Summary

Constructor Details

.new(address) ⇒ LoadBalancer

Since:

  • 2.0.0

[ GitHub ]

  
# File 'lib/mongo/server/description/load_balancer.rb', line 24

def initialize(address)
  @address = address
end

Instance Attribute Details

#addressAddress (readonly)

Returns:

  • (Address)

    address The server’s address.

Since:

  • 2.0.0

[ GitHub ]

  
# File 'lib/mongo/server/description/load_balancer.rb', line 29

attr_reader :address