/** * add a recovered participant record to the table of unrecovered participants which * need to be recreated following recovery * * @param uid the uid under which the participant was saved in the file store * @param participantRecoveryRecord the in-memory representation of the recovery record * saved to disk */ public void addParticipantRecoveryRecord(Uid uid, ATParticipantRecoveryRecord participantRecoveryRecord) { String participantId = participantRecoveryRecord.getId(); if (recoveryMap.get(participantId) == null && !participantRecoveryRecord.isActive()) { // ok, we have not seen this entry before so add it to the list recoveryMap.put(participantId, participantRecoveryRecord); uidMap.put(participantId, uid); } }
/** * add a recovered participant record to the table of unrecovered participants which * need to be recreated following recovery * * @param uid the uid under which the participant was saved in the file store * @param participantRecoveryRecord the in-memory representation of the recovery record * saved to disk */ public void addParticipantRecoveryRecord(Uid uid, ATParticipantRecoveryRecord participantRecoveryRecord) { String participantId = participantRecoveryRecord.getId(); if (recoveryMap.get(participantId) == null && !participantRecoveryRecord.isActive()) { // ok, we have not seen this entry before so add it to the list recoveryMap.put(participantId, participantRecoveryRecord); uidMap.put(participantId, uid); } }
/** * add a recovered participant record to the table of unrecovered participants which * need to be recreated following recovery * * @param uid the uid under which the participant was saved in the file store * @param participantRecoveryRecord the in-memory representation of the recovery record * saved to disk */ public void addParticipantRecoveryRecord(Uid uid, ATParticipantRecoveryRecord participantRecoveryRecord) { String participantId = participantRecoveryRecord.getId(); if (recoveryMap.get(participantId) == null && !participantRecoveryRecord.isActive()) { // ok, we have not seen this entry before so add it to the list recoveryMap.put(participantId, participantRecoveryRecord); uidMap.put(participantId, uid); } }
if (participantRecoveryRecord.isActive()) {
if (participantRecoveryRecord.isActive()) {
if (participantRecoveryRecord.isActive()) {