put() operations and index updates

classic Classic list List threaded Threaded
2 messages Options
avk avk
Reply | Threaded
Open this post in threaded view
|

put() operations and index updates

Hello,

I couldn't find any specific details in the documentation, hence this question: is the update of the index done synchronously with a put() operation (or any other cache mutator operation)? In other words, is the index guaranteed to have been updated when a put() call returns?

Thanks
Andrey
dsetrakyan dsetrakyan
Reply | Threaded
Open this post in threaded view
|

Re: put() operations and index updates



On Mon, Aug 31, 2015 at 9:44 AM, Andrey Kornev <[hidden email]> wrote:
Hello,

I couldn't find any specific details in the documentation, hence this question: is the update of the index done synchronously with a put() operation (or any other cache mutator operation)? In other words, is the index guaranteed to have been updated when a put() call returns?

The answer is Yes. Index updates are consistent with cache updates.
 

Thanks
Andrey