Populated returns true if all objectTrackers are populated.
()
| 122 | |
| 123 | // Populated returns true if all objectTrackers are populated. |
| 124 | func (t *trackerMap) Populated() bool { |
| 125 | t.mu.RLock() |
| 126 | defer t.mu.RUnlock() |
| 127 | for _, ot := range t.m { |
| 128 | if !ot.Populated() { |
| 129 | return false |
| 130 | } |
| 131 | } |
| 132 | return true |
| 133 | } |
| 134 | |
| 135 | // TryCancel will check the readinessRetries left on this GVK, and remove |
| 136 | // the expectation for its objectTracker if no retries remain. |