| Modifier and Type | Method and Description |
|---|---|
Watch |
ConfigWatcher.createWatch(boolean ads,
Discovery.DiscoveryRequest request,
Set<String> knownResourceNames,
Consumer<Response> responseConsumer)
Returns a new configuration resource
Watch for the given discovery request. |
Watch |
SimpleCache.createWatch(boolean ads,
Discovery.DiscoveryRequest request,
Set<String> knownResourceNames,
Consumer<Response> responseConsumer)
Returns a new configuration resource
Watch for the given discovery request. |
| Modifier and Type | Method and Description |
|---|---|
void |
CacheStatusInfo.setWatch(long watchId,
Watch watch)
Adds the given watch to the tracked collection of watches.
|
| Modifier and Type | Method and Description |
|---|---|
void |
CacheStatusInfo.watchesRemoveIf(BiFunction<Long,Watch,Boolean> filter)
Iterate over all tracked watches and execute the given function.
|
Copyright © 2018 The Envoy Project. All rights reserved.