public synchronized void dropReaders() throws IOException { // TODO: can we somehow use IOUtils here...? problem is // we are calling .decRef not .close)... if (reader != null) { try { reader.decRef(); } finally { reader = null; } } decRef(); }
boolean changed = false; rld.decRef();
public synchronized void dropReaders() throws IOException { // TODO: can we somehow use IOUtils here...? problem is // we are calling .decRef not .close)... if (reader != null) { try { reader.decRef(); } finally { reader = null; } } decRef(); }
public synchronized void dropReaders() throws IOException { // TODO: can we somehow use IOUtils here...? problem is // we are calling .decRef not .close)... if (reader != null) { //System.out.println(" pool.drop info=" + info + " rc=" + reader.getRefCount()); try { reader.decRef(); } finally { reader = null; } } decRef(); }
public synchronized void dropReaders() throws IOException { // TODO: can we somehow use IOUtils here...? problem is // we are calling .decRef not .close)... if (reader != null) { //System.out.println(" pool.drop info=" + info + " rc=" + reader.getRefCount()); try { reader.decRef(); } finally { reader = null; } } decRef(); }
public synchronized void release(ReadersAndUpdates rld, boolean assertInfoLive) throws IOException { rld.decRef();
public synchronized void release(ReadersAndUpdates rld, boolean assertInfoLive) throws IOException { rld.decRef();
boolean changed = false; rld.decRef();