Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Datastore Cache Impl. [moved] #25

Closed
jyemin opened this issue Apr 25, 2013 · 0 comments
Closed

Add Datastore Cache Impl. [moved] #25

jyemin opened this issue Apr 25, 2013 · 0 comments
Labels

Comments

@jyemin
Copy link
Contributor

jyemin commented Apr 25, 2013

This is Issue 25 moved from a Google Code project.
Added by 2010-04-02T18:51:03.000Z by scotthernandez.
Please review that bug for more context and additional comments, but update this bug.

Original labels: Type-Enhancement, Priority-Low, Milestone-Release1.2

Original description

Add a write-through datastore cache. This will cache entities loaded/saved by 
the instance of the datastore, via a instance hashmap. Adding this enables 
the datastore to effectively cache simple get(MyEntity.class, id) calls and 
get(MyEntity.class, ids). All writes will pass through the cache and update 
it once completed.

This will be similar to the JPA (lst level) session cache.

This can be written as CachingDatastoreImpl which can be substituted in the 
DatastoreService.getDatastore(true), or something like that.
fwautobuild pushed a commit to fwHub/morphia that referenced this issue Feb 2, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants