Integer i = (Integer)dbHandleUsage.get(db); if (i == null) { System.out.println("db handle not found in Usage map: " + db); return 1; }
    int useDbHandle(isc_db_handle db, int inc) {        synchronized(dbHandleUsage) {            int count = ((Integer)dbHandleUsage.get(db)).intValue();            dbHandleUsage.put(db, new Integer(count + inc));            return count + inc;        }    }