()
| 158 | } |
| 159 | |
| 160 | func (c *channelCacheImpl) GetHighCacheSequence() uint64 { |
| 161 | c.seqLock.RLock() |
| 162 | highSeq := c.highCacheSequence |
| 163 | c.seqLock.RUnlock() |
| 164 | return highSeq |
| 165 | } |
| 166 | |
| 167 | // Updates the high cache sequence if the incoming sequence is higher than current |
| 168 | // Note: doesn't require compareAndSet on update, as cache expects AddToCache to only be called from |
no test coverage detected