Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type StatsDataFetcher ¶
type StatsDataFetcher interface { datarepo.DataFetcher ClearStats() // number of ids sent for reading to the DataFetcher Reads() int64 }
func NewStatsDataFetcher ¶
func NewStatsDataFetcher(delegate datarepo.DataFetcher) StatsDataFetcher
Creates a new DataFetcher that keeps stats for an underlying/delegate DataFetcher
type StatsDataWriter ¶
type StatsDataWriter interface { datarepo.DataWriter ClearStats() // number of Create operations invoked in the DataWriter Creates() int64 // number of Update operations invoked in the DataWriter Updates() int64 }
func NewStatsDataWriter ¶
func NewStatsDataWriter(delegate datarepo.DataWriter) StatsDataWriter
Creates a new DataWriter that keeps stats for an underlying/delegate DataWriter
Click to show internal directories.
Click to hide internal directories.