var watchBatchMaxRevs …
type eventBatch …
func (eb *eventBatch) add(ev mvccpb.Event) { … }
type watcherBatch …
func (wb watcherBatch) add(w *watcher, ev mvccpb.Event) { … }
func newWatcherBatch(wg *watcherGroup, evs []mvccpb.Event) watcherBatch { … }
type watcherSet …
func (w watcherSet) add(wa *watcher) { … }
func (w watcherSet) union(ws watcherSet) { … }
func (w watcherSet) delete(wa *watcher) { … }
type watcherSetByKey …
func (w watcherSetByKey) add(wa *watcher) { … }
func (w watcherSetByKey) delete(wa *watcher) bool { … }
type watcherGroup …
func newWatcherGroup() watcherGroup { … }
func (wg *watcherGroup) add(wa *watcher) { … }
func (wg *watcherGroup) contains(key string) bool { … }
func (wg *watcherGroup) size() int { … }
func (wg *watcherGroup) delete(wa *watcher) bool { … }
func (wg *watcherGroup) choose(maxWatchers int, curRev, compactRev int64) (*watcherGroup, int64) { … }
func (wg *watcherGroup) chooseAll(curRev, compactRev int64) int64 { … }
func (wg *watcherGroup) watcherSetByKey(key string) watcherSet { … }