[skip e2e] Add comment for channelsTimeTicker (#14870)

Signed-off-by: dragondriver <jiquan.long@zilliz.com>
pull/14880/head
Jiquan Long 2022-01-05 19:07:20 +08:00 committed by GitHub
parent d01931d8d9
commit 3e9340e3f6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 0 deletions

View File

@ -31,7 +31,9 @@ type getPChanStatisticsFuncType func() (map[pChan]*pChanStatistics, error)
// channelsTimeTicker manages the timestamp statistics
type channelsTimeTicker interface {
// start starts the channels time ticker.
start() error
// close closes the channels time ticker.
close() error
// getLastTick returns the last write timestamp of specific pchan.
getLastTick(pchan pChan) (Timestamp, error)