MaxLifetimeDestroyCount returns the cumulative count of connections destroyed because they exceeded MaxConnLifetime.
()
| 74 | // MaxLifetimeDestroyCount returns the cumulative count of connections destroyed |
| 75 | // because they exceeded MaxConnLifetime. |
| 76 | func (s *Stat) MaxLifetimeDestroyCount() int64 { |
| 77 | return s.lifetimeDestroyCount |
| 78 | } |
| 79 | |
| 80 | // MaxIdleDestroyCount returns the cumulative count of connections destroyed because |
| 81 | // they exceeded MaxConnIdleTime. |
no outgoing calls