kakao / s2graph

This code base is retained for historical interest only, please visit Apache Incubator Repo for latest one
https://github.com/apache/incubator-s2graph
Other
250 stars 32 forks source link

refator defer cache. #280

Open SteamShon opened 8 years ago

SteamShon commented 8 years ago

Add util class DeferCache[T] to generalize future cache a little bit, and change fetch method and reflect caller(AsynchbaseQueryBuilder) to use this util class instead of manually mutating guava cache.