Java implementation of a distributed cache.