[
https://issues.apache.org/jira/browse/HBASE-24855?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17175485#comment-17175485
]
Viraj Jasani edited comment on HBASE-24855 at 8/11/20, 11:44 AM:
-----------------------------------------------------------------
The above mentioned lock() is private because it is internal to HRegion only.
Region specific read/write locks are taken while performing some internal
operations, we should not allow anyone outside HRegion to contend with this
lock.
Please raise this question on dev@hbase group if your would like to know more
about this. Closing this Jira.
Thanks.
was (Author: vjasani):
Please raise this question on dev@hbase group. Closing this Jira.
Thanks.
> Why Hregion's lock method is not public?
> -----------------------------------------
>
> Key: HBASE-24855
> URL: https://issues.apache.org/jira/browse/HBASE-24855
> Project: HBase
> Issue Type: Wish
> Reporter: yukunpeng
> Priority: Trivial
>
>
> {code:java}
> private void lock(final Lock lock) throws RegionTooBusyException,
> InterruptedIOException {
> lock(lock, 1);
> }
> {code}
>
--
This message was sent by Atlassian Jira
(v8.3.4#803005)