J.D.
J.D.

Reputation: 1023

Is it possible to update an object for a given key in an Akavache cache?

I'm trying to understand how to properly use Akavache. I have a List that I store in the Akavache BLOB cache with the key ObjectAKey. I insert it using Akavache's GetOrFetchObject() method. I can recall List from my Akavache BLOB cache by calling Akavache's GetObject() method (or the GetOrFetchObject() method also works).

I don't see any methods to update an object in the cache. Furthermore if I use the InsertObject() method to add more instances of ObjectA to the existing cache (for key ObjectAKey) then it overwrites the existing objects in the cache with the new instance of the object.

Is it possible to update an instance of an object in the existing cache or insert a new instance of an object into that same existing cache for a particular key?

Upvotes: 0

Views: 335

Answers (0)

Related Questions