hadoop-common-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hudson (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HADOOP-13466) Add an AutoCloseableLock class
Date Thu, 04 Aug 2016 20:02:20 GMT

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

Hudson commented on HADOOP-13466:
---------------------------------

SUCCESS: Integrated in Hadoop-trunk-Commit #10217 (See [https://builds.apache.org/job/Hadoop-trunk-Commit/10217/])
HADOOP-13466. Add an AutoCloseableLock class. (Chen Liang) (arp: rev 331ef251527f2cb7f1bfa8e1b745b889e538e8a0)
* hadoop-common-project/hadoop-common/src/test/java/org/apache/hadoop/util/TestAutoCloseableLock.java
* hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/util/AutoCloseableLock.java


> 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
>             Fix For: 2.8.0
>
>         Attachments: HADOOP-13466.001.patch, HADOOP-13466.002.patch
>
>
> Introduce an AutoCloseableLock class that is a thin wrapper over RentrantLock. It allows
using RentrantLock with try-with-resources syntax.
> The wrapper functions perform no expensive operations 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


Mime
View raw message