Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type SimpleStats ¶
type SimpleStats struct {
// contains filtered or unexported fields
}
Track statistics for the min, max, and mean number of free connections over a time interval (yes, this could be generalized)
This is very simple, but still seems worth breaking out into a separate file.
func (*SimpleStats) Clear ¶
func (sp *SimpleStats) Clear()
func (*SimpleStats) Max ¶
func (sp *SimpleStats) Max() int64
func (*SimpleStats) Mean ¶
func (sp *SimpleStats) Mean() int64
func (*SimpleStats) Min ¶
func (sp *SimpleStats) Min() int64
func (*SimpleStats) Sample ¶
func (sp *SimpleStats) Sample(cnt int64)
func (*SimpleStats) Samples ¶
func (sp *SimpleStats) Samples() int64
func (*SimpleStats) Total ¶
func (sp *SimpleStats) Total() int64
Click to show internal directories.
Click to hide internal directories.