MCPcopy Create free account
hub / github.com/TalkingData/owl / Size

Method Size

controller/queue.go:206–210  ·  view source on GitHub ↗

Return size of Queue.

()

Source from the content-addressed store, hash-verified

204
205// Return size of Queue.
206func (q *Queue) Size() int {
207 q.mutex.Lock()
208 defer q.mutex.Unlock()
209 return q.size()
210}
211
212func (q *Queue) isempty() bool {
213 return (q.size() == 0)

Callers

nothing calls this directly

Calls 1

sizeMethod · 0.95

Tested by

no test coverage detected