diff options
author | Jon Marius Venstad <venstad@gmail.com> | 2019-02-08 17:17:42 +0100 |
---|---|---|
committer | Jon Marius Venstad <venstad@gmail.com> | 2019-02-08 17:17:42 +0100 |
commit | 3997e8b49b54c2cc4ad1053c096912963988e141 (patch) | |
tree | 141f72af87582bb05ff6432a049211fe98b8991f /orchestrator | |
parent | d6b759ae7507ed6eedfd7ee99ef3147efacf6c9f (diff) |
Add note
Diffstat (limited to 'orchestrator')
-rw-r--r-- | orchestrator/src/main/java/com/yahoo/vespa/orchestrator/status/ZookeeperStatusService.java | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/orchestrator/src/main/java/com/yahoo/vespa/orchestrator/status/ZookeeperStatusService.java b/orchestrator/src/main/java/com/yahoo/vespa/orchestrator/status/ZookeeperStatusService.java index 5a16f4411b5..c23334d865e 100644 --- a/orchestrator/src/main/java/com/yahoo/vespa/orchestrator/status/ZookeeperStatusService.java +++ b/orchestrator/src/main/java/com/yahoo/vespa/orchestrator/status/ZookeeperStatusService.java @@ -77,6 +77,11 @@ public class ZookeeperStatusService implements StatusService { } } + /** + * Cache is checked for freshness when this mapping is created, and may be invalidated again later + * by other users of the cache. Since this function is backed by the cache, any such invalidations + * will be reflected in the returned mapping; all users of the cache collaborate in repopulating it. + */ @Override public Function<ApplicationInstanceReference, Set<HostName>> getSuspendedHostsByApplication() { Map<ApplicationInstanceReference, Set<HostName>> suspendedHostsByApplication = getValidCache(); |