/** * Replays log from the active mark forward to the current position. * * @param listener an object that implements ReplayListener interface. * @throws LogConfigurationException * most likely because the configured LogBuffer class cannot be found. * @see #replay(ReplayListener, long) */ public void replay(ReplayListener listener) throws LogConfigurationException { try { bmgr.replay(listener, lfmgr.activeMark, false); } catch (InvalidLogKeyException e) { // should not happen -- use assert to catch during development assert false : "Unhandled InvalidLogKeyException" + e.toString(); } }
/** * Replays log from the active mark forward to the current position. * * @param listener an object that implements ReplayListener interface. * @throws LogConfigurationException * most likely because the configured LogBuffer class cannot be found. * @see #replay(ReplayListener, long) */ public void replay(ReplayListener listener) throws LogConfigurationException { try { bmgr.replay(listener, lfmgr.activeMark, false); } catch (InvalidLogKeyException e) { // should not happen -- use assert to catch during development assert false : "Unhandled InvalidLogKeyException" + e.toString(); } }
/** * Replays log from the active mark forward to the current position. * * @param listener an object that implements ReplayListener interface. * @throws LogConfigurationException * most likely because the configured LogBuffer class cannot be found. * @see #replay(ReplayListener, long) */ public void replay(ReplayListener listener) throws LogConfigurationException { try { bmgr.replay(listener, lfmgr.activeMark, false); } catch (InvalidLogKeyException e) { // should not happen -- use assert to catch during development assert false : "Unhandled InvalidLogKeyException" + e.toString(); } }
/** * Replays log from the active mark forward to the current position. * * @param listener an object that implements ReplayListener interface. * @throws LogConfigurationException * most likely because the configured LogBuffer class cannot be found. * @see #replay(ReplayListener, long) */ public void replay(ReplayListener listener) throws LogConfigurationException { try { bmgr.replay(listener, lfmgr.activeMark, false); } catch (InvalidLogKeyException e) { // should not happen -- use assert to catch during development assert false : "Unhandled InvalidLogKeyException" + e.toString(); } }
/** * Wrapp Logger#replay(ReplayListener) so we can * intercept onRecord() notifications to process * XACOMMIT and XACOMMITMOVED records. */ public void replay(ReplayListener listener) throws LogConfigurationException { try { this.replay(listener, getActiveMark()); } catch (InvalidLogKeyException e) { // should not happen assert false : "Unhandled InvalidLogKeyException" + e.toString(); } }
/** * Wrapp Logger#replay(ReplayListener) so we can * intercept onRecord() notifications to process * XACOMMIT and XACOMMITMOVED records. */ public void replay(ReplayListener listener) throws LogConfigurationException { try { this.replay(listener, getActiveMark()); } catch (InvalidLogKeyException e) { // should not happen assert false : "Unhandled InvalidLogKeyException" + e.toString(); } }
/** * Wrapp Logger#replay(ReplayListener) so we can * intercept onRecord() notifications to process * XACOMMIT and XACOMMITMOVED records. */ public void replay(ReplayListener listener) throws LogConfigurationException { try { this.replay(listener, getActiveMark()); } catch (InvalidLogKeyException e) { // should not happen assert false : "Unhandled InvalidLogKeyException" + e.toString(); } }
mark(newMark, true); // force = true } catch (InvalidLogKeyException e) { // should never happen System.err.println(e.toString()); Thread.yield(); } catch (LogClosedException e) { // should never happen
mark(newMark, true); // force = true } catch (InvalidLogKeyException e) { // should never happen System.err.println(e.toString()); Thread.yield(); } catch (LogClosedException e) { // should never happen
mark(newMark, true); // force = true } catch (InvalidLogKeyException e) { // should never happen System.err.println(e.toString()); Thread.yield(); } catch (LogClosedException e) { // should never happen