TotalConns returns the total number of resources currently in the pool. The value is the sum of ConstructingConns, AcquiredConns, and IdleConns.
()
| 63 | // The value is the sum of ConstructingConns, AcquiredConns, and |
| 64 | // IdleConns. |
| 65 | func (s *Stat) TotalConns() int32 { |
| 66 | return s.s.TotalResources() |
| 67 | } |
| 68 | |
| 69 | // NewConnsCount returns the cumulative count of new connections opened. |
| 70 | func (s *Stat) NewConnsCount() int64 { |
no outgoing calls