Simple local Java object cache