You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-issues@hadoop.apache.org by "Chen Liang (JIRA)" <ji...@apache.org> on 2016/08/03 22:11:20 UTC
[jira] [Commented] (HADOOP-13466) Add an AutoCloseableLock class
[ https://issues.apache.org/jira/browse/HADOOP-13466?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15406710#comment-15406710 ]
Chen Liang commented on HADOOP-13466:
-------------------------------------
Thanks [~arpitagarwal] for the review and the suggestion! Will upload another patch with more Javadocs.
> Add an AutoCloseableLock class
> ------------------------------
>
> Key: HADOOP-13466
> URL: https://issues.apache.org/jira/browse/HADOOP-13466
> Project: Hadoop Common
> Issue Type: Improvement
> Reporter: Chen Liang
> Assignee: Chen Liang
> Attachments: HADOOP-13466.001.patch
>
>
> Introduce an AutoCloseableLock class that allows using a RentrantLock with try-with-resources syntax.
> The lock class is lightweight and performs no extra object allocations in the lock acquire/release path.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: common-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: common-issues-help@hadoop.apache.org