Refactor CachePool to permit other types of caching
In a cluster configuration we might choose to avoid using Ehcache
altogether, and instead use no caching, or use some other type of
cluster based cache such as memcache.
Although Ehcache has pluggable providers underneath of it that may
permit use in a cluster environment, we might not always be able to
use that provider. Abstract it away as a Guice injection so that we
can replace Ehcache entirely if we need to.
Change-Id: Ia3f918606968148b4ab1450011c1a077234d3cbd
Signed-off-by: Shawn O. Pearce <sop@google.com>
10 files changed