ignite-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dmitriy Setrakyan <dsetrak...@apache.org>
Subject Re: Async caches, invoke() and EntryProcessor
Date Mon, 04 May 2015 06:34:37 GMT
Ognen,

I am not sure I understand the question. If async mode is enabled, the
"invoke(...)" method works the same as any other method that supports
asynchronous behavior, i.e. you would get the return value using
IgniteCache.future().get() method.

D.

On Fri, May 1, 2015 at 9:20 PM, Ognen Duzlevski <ognen.duzlevski@gmail.com>
wrote:

> After reading this: http://apacheignite.readme.io/v1.0/docs/jcache and
> knowing (from personal experience) to throw away the return values of
> methods like containsKey() in a cache.withAsync() mode of operation - how
> does the async mode and associated future() interplay with invoke() and a
> custom EntryProcessor within which a get() method is used?
>
> Thanks!
> Ognen
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message