/** @return Count of extant connection instances */ public static int getConnectionCount() { synchronized (HConnectionManager.HBASE_INSTANCES) { return HConnectionManager.HBASE_INSTANCES.size(); } }