curator icon indicating copy to clipboard operation
curator copied to clipboard

[CURATOR-380] Service Discovery: ServiceCacheListener should receive the added or deleted service instance when notified

Open jira-importer opened this issue 8 years ago • 0 comments

I think it's reasonable to receive the added/deleted service instance when ServiceCacheListener is notified, currently ServiceCacheListener only has one no-arg method:
public void cacheChanged();

Maybe we should add(or replace with) another two methods in ServiceCacheListener, like:

void onInstanceAdded(ServiceInstance instance);
void onInstancedRemoved(ServiceInstance instance);


Originally reported by julyguo, imported from: Service Discovery: ServiceCacheListener should receive the added or deleted service instance when notified
  • status: Open
  • priority: Major
  • resolution: Unresolved
  • imported: 2025-01-21

jira-importer avatar Jan 18 '17 14:01 jira-importer