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

Sergey Evdokimov commented on IGNITE-59:
----------------------------------------

Dmitriy, Are you sure that CacheLock should extend IgniteAsyncSupport? 
IMHO it's more clearly to add methods 'lockAsync()' and 'lockAsync(long 
timeout, TimeUnit unit)' to CacheLock instead of implementing 
IgniteAsyncSupport behaviour. Behaviour of CacheLock returned by 
IgniteAsyncSupport.enableAsync() is not clearly, for example, that should 
return method "boolean CacheLock.tryLock(long time, TimeUnit unit)" on async 
mode?

> 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)

Reply via email to