Aleksey,

if you talk about fut.listen() then it doesn't make sense. listen()
call checks whether future is already completed and if it completed
invokes passed listener from current thread.

On Thu, Mar 2, 2017 at 12:42 PM, ALEKSEY KUZNETSOV
<alkuznetsov...@gmail.com> wrote:
> Hi all ! During pessimistic transaction we execute prepare phase at
> org.apache.ignite.internal.processors.cache.distributed.near.GridNearTxLocal#commitAsync
> after executing prepareAsync();
> We bind listener on prepare future.
> Perhaps its better initially bind listener and then execute fut.prepare(); ?
> --
>
> *Best Regards,*
>
> *Kuznetsov Aleksey*

Reply via email to