Documentation
¶
Overview ¶
Package mutexlatency holds the routines which manage the server mutexs
Index ¶
- type Wrapper
- func (mlw *Wrapper) Collect()
- func (mlw Wrapper) Description() string
- func (mlw Wrapper) EmptyRowContent() string
- func (mlw Wrapper) FirstCollectTime() time.Time
- func (mlw Wrapper) HaveRelativeStats() bool
- func (mlw Wrapper) Headings() string
- func (mlw Wrapper) LastCollectTime() time.Time
- func (mlw *Wrapper) ResetStatistics()
- func (mlw Wrapper) RowContent() []string
- func (mlw Wrapper) TotalRowContent() string
- func (mlw Wrapper) WantRelativeStats() bool
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Wrapper ¶
type Wrapper struct {
// contains filtered or unexported fields
}
Wrapper wraps a MutexLatency struct
func NewMutexLatency ¶
NewMutexLatency creates a wrapper around mutexlatency.MutexLatency
func (Wrapper) Description ¶
Description returns a description of the table
func (Wrapper) EmptyRowContent ¶
EmptyRowContent returns an empty string of data (for filling in)
func (Wrapper) FirstCollectTime ¶
FirstCollectTime returns the time the first value was collected
func (Wrapper) HaveRelativeStats ¶
HaveRelativeStats is true for this object
func (Wrapper) LastCollectTime ¶
LastCollectTime returns the time the last value was collected
func (*Wrapper) ResetStatistics ¶ added in v1.1.0
func (mlw *Wrapper) ResetStatistics()
ResetStatistics resets the statistics to last values
func (Wrapper) RowContent ¶
RowContent returns the rows we need for displaying
func (Wrapper) TotalRowContent ¶
TotalRowContent returns all the totals
func (Wrapper) WantRelativeStats ¶
WantRelativeStats indiates if we want relative statistics