BUG: remove the @0024 --> $ comment as fixed
[pstop.git] / p_s / ps_table / ps_table.go
1 // This file contains the library routines for managing the
2 // table_lock_waits_summary_by_table table.
3 package ps_table
4
5 import (
6         "database/sql"
7         "time"
8 )
9
10 // a table of rows
11 type Tabler interface {
12         Collect(dbh *sql.DB)
13         SyncReferenceValues()
14         Headings() string
15         RowContent(max_rows int) []string
16         TotalRowContent() string
17         EmptyRowContent() string
18         Description() string
19         SetNow()
20         Last() time.Time
21         SetWantRelativeStats(want_relative_stats bool)
22 }