/** * Registers an iteration as active by wrapping it in a {@link SailBaseIteration} object and adding it to * the list of active iterations. */ protected <T, E extends Exception> CloseableIteration<T, E> registerIteration( CloseableIteration<T, E> iter) { SailBaseIteration<T, E> result = new SailBaseIteration<T, E>(iter, this); Throwable stackTrace = debugEnabled ? new Throwable() : null; synchronized (activeIterations) { activeIterations.put(result, stackTrace); } return result; }
@Deprecated protected void forceClose() throws E { close(); } }
@Deprecated protected void forceClose() throws E { close(); } }
debugEnabled ? creatorTrace : null); ci.close();
/** * Registers an iteration as active by wrapping it in a {@link SailBaseIteration} object and adding it to * the list of active iterations. */ protected <T, E extends Exception> CloseableIteration<T, E> registerIteration( CloseableIteration<T, E> iter) { SailBaseIteration<T, E> result = new SailBaseIteration<T, E>(iter, this); Throwable stackTrace = debugEnabled ? new Throwable() : null; synchronized (activeIterations) { activeIterations.put(result, stackTrace); } return result; }
debugEnabled ? creatorTrace : null); ci.close();