consul/agent/cache
Daniel Nephin 343d133183 cache: Refactor heap.notify to make it more explicit.
And remove duplicate notifications.

Instead of performing the check in the heap implementation, check the
index in the higher level interface (Add,Remove,Update) and notify if one
of the relevant indexes is 0.
2020-10-20 19:10:20 -04:00
..
cache.go cache: Move more of the expiryLoop into the Heap 2020-10-20 19:10:20 -04:00
cache_test.go cache: extract cache eviction heap 2020-10-20 19:10:19 -04:00
entry.go cache: extract cache eviction heap 2020-10-20 19:10:19 -04:00
eviction.go cache: Refactor heap.notify to make it more explicit. 2020-10-20 19:10:20 -04:00
eviction_test.go cache: Move more of the expiryLoop into the Heap 2020-10-20 19:10:20 -04:00
mock_Request.go agent/cache: Make all cache options RegisterOptions 2020-04-16 18:56:34 -04:00
mock_Type.go agent/cache: Make all cache options RegisterOptions 2020-04-16 18:56:34 -04:00
request.go Support Agent Caching for Service Discovery Results (#4541) 2018-10-10 16:55:34 +01:00
testing.go Decrease test flakiness 2020-08-24 20:30:02 +01:00
type.go agent/cache: Use AllowNotModifiedResponse in CatalogListServices 2020-07-14 18:58:20 -04:00
watch.go Make the Agent Cache more Context aware (#8092) 2020-06-15 11:01:25 -04:00
watch_test.go Decrease test flakiness 2020-08-24 20:30:02 +01:00