Class: Neo4j::Driver::Internal::Metrics::ConnectionPoolMetrics
- Inherits:
-
Struct
- Object
- Struct
- Neo4j::Driver::Internal::Metrics::ConnectionPoolMetrics
- Defined in:
- lib/neo4j/driver/internal/metrics.rb
Overview
Per-server-address snapshot. address is a Routing::ServerAddress
(responds to #host/#port so the testkit handler can match it). #id
is the "host:port" string form, the forward-compatible duck-typed key
DECISIONS.md (2026-06-05) describes for a future metrics contract.
Instance Attribute Summary collapse
-
#address ⇒ Object
Returns the value of attribute address.
-
#idle ⇒ Object
Returns the value of attribute idle.
-
#in_use ⇒ Object
Returns the value of attribute in_use.
Instance Method Summary collapse
Instance Attribute Details
#address ⇒ Object
Returns the value of attribute address
17 18 19 |
# File 'lib/neo4j/driver/internal/metrics.rb', line 17 def address @address end |
#idle ⇒ Object
Returns the value of attribute idle
17 18 19 |
# File 'lib/neo4j/driver/internal/metrics.rb', line 17 def idle @idle end |
#in_use ⇒ Object
Returns the value of attribute in_use
17 18 19 |
# File 'lib/neo4j/driver/internal/metrics.rb', line 17 def in_use @in_use end |
Instance Method Details
#id ⇒ Object
18 |
# File 'lib/neo4j/driver/internal/metrics.rb', line 18 def id = address.to_s |