Return-Path: X-Original-To: apmail-hbase-issues-archive@www.apache.org Delivered-To: apmail-hbase-issues-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 709F3DEE9 for ; Fri, 12 Oct 2012 05:38:53 +0000 (UTC) Received: (qmail 80935 invoked by uid 500); 12 Oct 2012 05:38:53 -0000 Delivered-To: apmail-hbase-issues-archive@hbase.apache.org Received: (qmail 80877 invoked by uid 500); 12 Oct 2012 05:38:52 -0000 Mailing-List: contact issues-help@hbase.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Delivered-To: mailing list issues@hbase.apache.org Received: (qmail 80867 invoked by uid 99); 12 Oct 2012 05:38:52 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 12 Oct 2012 05:38:52 +0000 Date: Fri, 12 Oct 2012 05:38:52 +0000 (UTC) From: "Lars Hofhansl (JIRA)" To: issues@hbase.apache.org Message-ID: <2096809772.35947.1350020332745.JavaMail.jiratomcat@arcas> In-Reply-To: <1947992492.15452.1341601654497.JavaMail.jiratomcat@issues-vm> Subject: [jira] [Closed] (HBASE-6341) Publicly expose HConnectionKey MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/HBASE-6341?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Lars Hofhansl closed HBASE-6341. -------------------------------- > Publicly expose HConnectionKey > ------------------------------ > > Key: HBASE-6341 > URL: https://issues.apache.org/jira/browse/HBASE-6341 > Project: HBase > Issue Type: Improvement > Components: Client > Affects Versions: 0.92.0 > Reporter: Micah Whitacre > Priority: Trivial > Fix For: 0.92.2, 0.94.1 > > Attachments: hbase_6341.patch > > > HBASE-3777 introduced the concept of a HConnectionKey to quickly identify and compare Configuration instances which lack equals/hashCode values. > We currently have use cases where being able to key Configuration objects in a similar way would be helpful. An example of this would be maintain a cache of HTablePool instances based on the HConnectionKey instead of the Configuration instance. > I propose that HConnectionKey be made publicly available instead of its current package scope. Or another possibility would be to move it from being a static inner class to being part of the API. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira