Use Guice to construct the self populating caches
Rather than explicitly coding new SelfPopulatingCache, configure
each cache with a binding to its EntryCreator. This way we can
more easily rebind what a self-populating-cache means in another
server context, such as a cluster.
Change-Id: Icf9645fe46876af6b9c8dba0357155c07217d4b2
Signed-off-by: Shawn O. Pearce <sop@google.com>
(cherry picked from commit 0f5418c9eb46ca09c037884ec947f0859cc57a5a)
Change-Id: Iecf9338b80729c828138d9d2dba211d86182667f
20 files changed