Documentation ¶
Overview ¶
Package file_io_latency holds the routines which manage the file_summary_by_instance table.
Package file_io_latency contains the routines for managing the file_summary_by_instance table.
Package file_io_latency contains the routines for managing the file_summary_by_instance table.
Index ¶
- type FileIoLatency
- func (fiol *FileIoLatency) Collect()
- func (fiol FileIoLatency) Description() string
- func (fiol FileIoLatency) EmptyRowContent() string
- func (fiol FileIoLatency) HaveRelativeStats() bool
- func (fiol FileIoLatency) Headings() string
- func (fiol FileIoLatency) Len() int
- func (fiol FileIoLatency) RowContent() []string
- func (fiol *FileIoLatency) SetFirstFromLast()
- func (fiol FileIoLatency) TotalRowContent() string
- type Row
- type Rows
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FileIoLatency ¶ added in v0.7.16
type FileIoLatency struct { baseobject.BaseObject // embedded Results Rows Totals Row // contains filtered or unexported fields }
FileIoLatency represents the contents of the data collected from file_summary_by_instance
func NewFileSummaryByInstance ¶
func NewFileSummaryByInstance(ctx *context.Context, db *sql.DB) *FileIoLatency
NewFileSummaryByInstance creates a new structure and include various variable values: - datadir, relay_log There's no checking that these are actually provided!
func (*FileIoLatency) Collect ¶ added in v0.7.16
func (fiol *FileIoLatency) Collect()
Collect data from the db, then merge it in.
func (FileIoLatency) Description ¶ added in v0.7.16
func (fiol FileIoLatency) Description() string
Description returns a description of the table
func (FileIoLatency) EmptyRowContent ¶ added in v0.7.16
func (fiol FileIoLatency) EmptyRowContent() string
EmptyRowContent returns an empty string of data (for filling in)
func (FileIoLatency) HaveRelativeStats ¶ added in v0.7.16
func (fiol FileIoLatency) HaveRelativeStats() bool
HaveRelativeStats is true for this object
func (FileIoLatency) Headings ¶ added in v0.7.16
func (fiol FileIoLatency) Headings() string
Headings returns the headings for a table
func (FileIoLatency) Len ¶ added in v0.7.16
func (fiol FileIoLatency) Len() int
Len return the length of the result set
func (FileIoLatency) RowContent ¶ added in v0.7.16
func (fiol FileIoLatency) RowContent() []string
RowContent returns the rows we need for displaying
func (*FileIoLatency) SetFirstFromLast ¶ added in v0.7.16
func (fiol *FileIoLatency) SetFirstFromLast()
SetFirstFromLast resets the statistics to last values
func (FileIoLatency) TotalRowContent ¶ added in v0.7.16
func (fiol FileIoLatency) TotalRowContent() string
TotalRowContent returns all the totals
type Row ¶
type Row struct {
// contains filtered or unexported fields
}
Row contains a row from file_summary_by_instance