MCPcopy Create free account
hub / github.com/datastax/cql-proxy / roundRobinLoadBalancer

Struct roundRobinLoadBalancer

proxycore/lb.go:39–43  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

37}
38
39type roundRobinLoadBalancer struct {
40 hosts atomic.Value
41 index uint32
42 mu *sync.Mutex
43}
44
45func (l *roundRobinLoadBalancer) OnEvent(event Event) {
46 l.mu.Lock()

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected