curator icon indicating copy to clipboard operation
curator copied to clipboard

[CURATOR-470] Add new service cache listener to let users know what instances have changed

Open Randgalt opened this issue 7 years ago • 0 comments

Built off of #265

A new interface (ServiceCacheEventListener) is introduced to expose changed instances, while preserving backward compatibility.

Unit test has updated as well.

@JerryChin this PR builds on yours but is more backward compatible. I'm concerned that the new listener breaks the contract of the old one. So, the cache now maintains two separate listener containers.

Randgalt avatar Jun 24 '18 15:06 Randgalt