con.getReplayLog().add(new ReplayLog(this.target, method, args)); con.getReplayLog().clear(); List<ReplayLog> oldReplayLog = con.getReplayLog(); con.setInReplayMode(true); // stop recording con.getReplayLog().clear(); } else { // connection is possibly recoverable... logger.error("Connection failed. Attempting to recover transaction on Thread #"+ Thread.currentThread().getId()); } catch(Throwable t2){ con.setInReplayMode(false); // start recording again con.getReplayLog().clear();
if (connectionHandle.getReplayLog() != null){ connectionHandle.getReplayLog().clear(); connectionHandle.recoveryResult.getReplaceTarget().clear();
if (connectionHandle.getReplayLog() != null) { connectionHandle.getReplayLog().clear(); connectionHandle.recoveryResult.getReplaceTarget().clear();