Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Tracker ¶
type Tracker struct {
// contains filtered or unexported fields
}
func (*Tracker) Get ¶
Get returns the scheduled leader for the given slot. It blocks until the leader schedule is available.
func (*Tracker) Run ¶
Run periodically updates the leader schedule. When the current slot + prefetchSlots is greater than the highest slot in the schedule, the schedule is updated.
A random node is picked from nodes to do the request against.
Click to show internal directories.
Click to hide internal directories.