Uploaded image for project: 'HBase'
  1. HBase
  2. HBASE-7705

Make the method getCurrentPoolSize of HTablePool public

    XMLWordPrintableJSON

Details

    • Wish
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 0.94.3
    • 0.94.5, 0.95.0
    • Client
    • None
    • Reviewed

    Description

      We use HTablePool to manager opened HTable in our applications. We want to track the usage of HTablePool for different table names. Then we discover that HTablePool#getCurrentPoolSize could help us:

        int getCurrentPoolSize(String tableName) {
          return tables.size(tableName);
        }
      

      However, this method could only be called in the hbase client package. Can we make this method public?

      Attachments

        1. HBASE-7705-0.94.3.txt
          0.5 kB
          Jianwei Cui

        Activity

          People

            cuijianwei Jianwei Cui
            cuijianwei Jianwei Cui
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: