Run starts a background thread to flush evicted indexes periodically.
(stop <-chan struct{})
| 36 | type XdsCache interface { |
| 37 | // Run starts a background thread to flush evicted indexes periodically. |
| 38 | Run(stop <-chan struct{}) |
| 39 | // Add adds the given XdsCacheEntry with the value for the given pushContext to the cache. |
| 40 | // If the cache has been updated to a newer push context, the write will be dropped silently. |
| 41 | // This ensures stale data does not overwrite fresh data when dealing with concurrent |
no outgoing calls