ignite-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dmitriy Setrakyan (JIRA)" <j...@apache.org>
Subject [jira] [Comment Edited] (IGNITE-59) Support lock, lockAll
Date Mon, 19 Jan 2015 16:50:35 GMT

    [ https://issues.apache.org/jira/browse/IGNITE-59?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14282692#comment-14282692
] 

Dmitriy Setrakyan edited comment on IGNITE-59 at 1/19/15 4:49 PM:
------------------------------------------------------------------

Ignite does not have {{somethingAsync(...)}} methods. They all are handled with {{IgniteAsyncSupport}}.
API. Not all methods must support async execution, but the ones that do should have {{IgniteAsyncSupported}}
annotation attached to them.

The direct return value of async operations should be ignored and later retrieved via {{IgniteAsyncSupport.future()}}
method.


was (Author: dsetrakyan):
Ignite does not have {{somethingAsycn(...)}} methods. They all are handled with {{IgniteAsyncSupport}}.
API. Not all methods must support async execution, but the ones that do should have {{IgniteAsyncSupported}}
annotation attached to them.

The direct return value of async operations should be ignored and later retrieved via {{IgniteAsyncSupport.future()}}
method.

> Support lock, lockAll
> ---------------------
>
>                 Key: IGNITE-59
>                 URL: https://issues.apache.org/jira/browse/IGNITE-59
>             Project: Ignite
>          Issue Type: Sub-task
>          Components: cache
>            Reporter: Semen Boikov
>            Assignee: Sergey Evdokimov
>             Fix For: sprint-1
>
>
> Implement methods on IgniteCache: 'Lock lock(K key)', 'Lock lockAll(Set<? extends
K> keys)', note: in new design method return Lock instance.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message