diff options
author | Håkon Hallingstad <hakon@oath.com> | 2019-01-26 15:04:53 +0100 |
---|---|---|
committer | Håkon Hallingstad <hakon@oath.com> | 2019-01-26 15:04:53 +0100 |
commit | a4cf71ae67fe32748cc06eb338be96889c4493ee (patch) | |
tree | 69b07b0b89f38bd7e0da226331f45b988b0cd64a /zkfacade/abi-spec.json | |
parent | 8e700d0078e1015756a23781efc461913dc87419 (diff) |
Cache flags DB
Up until now every lookup of a flag on ZooKeeperFlagSource would hit ZooKeeper.
Flags are ideal for caching: Changes seldom, little data, clients should handle
short-lived inconsistencies.
This PR will make the backing FlagsDbImpl cache the /flags/v1 ZK directory and
completes the optimization of ConfigServerFlagSource.
Diffstat (limited to 'zkfacade/abi-spec.json')
-rw-r--r-- | zkfacade/abi-spec.json | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/zkfacade/abi-spec.json b/zkfacade/abi-spec.json index 5610fb2e9cf..eb8edaa5b97 100644 --- a/zkfacade/abi-spec.json +++ b/zkfacade/abi-spec.json @@ -36,6 +36,7 @@ "public abstract void start()", "public abstract void addListener(org.apache.curator.framework.recipes.cache.PathChildrenCacheListener)", "public abstract java.util.List getCurrentData()", + "public abstract org.apache.curator.framework.recipes.cache.ChildData getCurrentData(com.yahoo.path.Path)", "public abstract void close()" ], "fields": [] |