*/
synchronized void removeSession(long sessionID) {
LongKeyIntValueHashMap scsMap;
long csid;
Iterator i;
scsMap = (LongKeyIntValueHashMap) sessionUseMap.remove(sessionID);
if (scsMap == null) {
return;
}
i = scsMap.keySet().iterator();
while (i.hasNext()) {
csid = i.nextLong();
int usecount = useMap.get(csid, 1) - 1;
if (usecount == 0) {
Statement cs = (Statement) csidMap.remove(csid);