Exceeded indicates if some values were lost because the maximum size limit was met.
()
| 116 | |
| 117 | // Exceeded indicates if some values were lost because the maximum size limit was met. |
| 118 | func (d *DistinctString) Exceeded() bool { |
| 119 | d.mtx.Lock() |
| 120 | defer d.mtx.Unlock() |
| 121 | |
| 122 | return d.limExceeded |
| 123 | } |
| 124 | |
| 125 | func (d *DistinctString) StopReason() string { |
| 126 | return d.stopReason |
no outgoing calls