/** * nestedAbort causes the restore_state function of the object to be invoked * passing it the saved ObjectState. */ public int nestedAbort () { if (tsLogger.logger.isDebugEnabled()) { tsLogger.logger.debug("RecoveryRecord::nestedAbort() for " + order()); } /* * First check that we have a state. We won't have for records created * by crash recovery. */ forgetAction(false); if (state != null) { if (state.notempty()) /* anything to restore ? */ { InputObjectState oldState = new InputObjectState(state); int result = objectAddr.restore_state(oldState, ObjectType.RECOVERABLE) ? TwoPhaseOutcome.FINISH_OK : TwoPhaseOutcome.FINISH_ERROR; if (result == TwoPhaseOutcome.FINISH_ERROR) { tsLogger.i18NLogger.warn_RecoveryRecord_2(); } return result; } } return TwoPhaseOutcome.FINISH_OK; }
/** * nestedAbort causes the restore_state function of the object to be invoked * passing it the saved ObjectState. */ public int nestedAbort () { if (tsLogger.logger.isDebugEnabled()) { tsLogger.logger.debug("RecoveryRecord::nestedAbort() for " + order()); } /* * First check that we have a state. We won't have for records created * by crash recovery. */ forgetAction(false); if (state != null) { if (state.notempty()) /* anything to restore ? */ { InputObjectState oldState = new InputObjectState(state); int result = objectAddr.restore_state(oldState, ObjectType.RECOVERABLE) ? TwoPhaseOutcome.FINISH_OK : TwoPhaseOutcome.FINISH_ERROR; if (result == TwoPhaseOutcome.FINISH_ERROR) { tsLogger.i18NLogger.warn_RecoveryRecord_2(); } return result; } } return TwoPhaseOutcome.FINISH_OK; }
/** * nestedAbort causes the restore_state function of the object to be invoked * passing it the saved ObjectState. */ public int nestedAbort () { if (tsLogger.logger.isDebugEnabled()) { tsLogger.logger.debug("RecoveryRecord::nestedAbort() for " + order()); } /* * First check that we have a state. We won't have for records created * by crash recovery. */ forgetAction(false); if (state != null) { if (state.notempty()) /* anything to restore ? */ { InputObjectState oldState = new InputObjectState(state); int result = objectAddr.restore_state(oldState, ObjectType.RECOVERABLE) ? TwoPhaseOutcome.FINISH_OK : TwoPhaseOutcome.FINISH_ERROR; if (result == TwoPhaseOutcome.FINISH_ERROR) { tsLogger.i18NLogger.warn_RecoveryRecord_2(); } return result; } } return TwoPhaseOutcome.FINISH_OK; }
/** * nestedAbort causes the restore_state function of the object to be invoked * passing it the saved ObjectState. */ public int nestedAbort () { if (tsLogger.logger.isDebugEnabled()) { tsLogger.logger.debug("RecoveryRecord::nestedAbort() for " + order()); } /* * First check that we have a state. We won't have for records created * by crash recovery. */ forgetAction(false); if (state != null) { if (state.notempty()) /* anything to restore ? */ { InputObjectState oldState = new InputObjectState(state); int result = objectAddr.restore_state(oldState, ObjectType.RECOVERABLE) ? TwoPhaseOutcome.FINISH_OK : TwoPhaseOutcome.FINISH_ERROR; if (result == TwoPhaseOutcome.FINISH_ERROR) { tsLogger.i18NLogger.warn_RecoveryRecord_2(); } return result; } } return TwoPhaseOutcome.FINISH_OK; }
/** * nestedAbort causes the restore_state function of the object to be invoked * passing it the saved ObjectState. */ public int nestedAbort () { if (tsLogger.logger.isDebugEnabled()) { tsLogger.logger.debug("RecoveryRecord::nestedAbort() for " + order()); } /* * First check that we have a state. We won't have for records created * by crash recovery. */ forgetAction(false); if (state != null) { if (state.notempty()) /* anything to restore ? */ { InputObjectState oldState = new InputObjectState(state); int result = objectAddr.restore_state(oldState, ObjectType.RECOVERABLE) ? TwoPhaseOutcome.FINISH_OK : TwoPhaseOutcome.FINISH_ERROR; if (result == TwoPhaseOutcome.FINISH_ERROR) { tsLogger.i18NLogger.warn_RecoveryRecord_2(); } return result; } } return TwoPhaseOutcome.FINISH_OK; }
/** * nestedAbort causes the restore_state function of the object to be invoked * passing it the saved ObjectState. */ public int nestedAbort () { if (tsLogger.logger.isDebugEnabled()) { tsLogger.logger.debug("RecoveryRecord::nestedAbort() for " + order()); } /* * First check that we have a state. We won't have for records created * by crash recovery. */ forgetAction(false); if (state != null) { if (state.notempty()) /* anything to restore ? */ { InputObjectState oldState = new InputObjectState(state); int result = objectAddr.restore_state(oldState, ObjectType.RECOVERABLE) ? TwoPhaseOutcome.FINISH_OK : TwoPhaseOutcome.FINISH_ERROR; if (result == TwoPhaseOutcome.FINISH_ERROR) { tsLogger.i18NLogger.warn_RecoveryRecord_2(); } return result; } } return TwoPhaseOutcome.FINISH_OK; }
/** * nestedAbort causes the restore_state function of the object to be invoked * passing it the saved ObjectState. */ public int nestedAbort () { if (tsLogger.logger.isDebugEnabled()) { tsLogger.logger.debug("RecoveryRecord::nestedAbort() for " + order()); } /* * First check that we have a state. We won't have for records created * by crash recovery. */ forgetAction(false); if (state != null) { if (state.notempty()) /* anything to restore ? */ { InputObjectState oldState = new InputObjectState(state); int result = objectAddr.restore_state(oldState, ObjectType.RECOVERABLE) ? TwoPhaseOutcome.FINISH_OK : TwoPhaseOutcome.FINISH_ERROR; if (result == TwoPhaseOutcome.FINISH_ERROR) { tsLogger.i18NLogger.warn_RecoveryRecord_2(); } return result; } } return TwoPhaseOutcome.FINISH_OK; }
/** * nestedAbort causes the restore_state function of the object to be invoked * passing it the saved ObjectState. */ public int nestedAbort () { if (tsLogger.logger.isDebugEnabled()) { tsLogger.logger.debug("RecoveryRecord::nestedAbort() for " + order()); } /* * First check that we have a state. We won't have for records created * by crash recovery. */ forgetAction(false); if (state != null) { if (state.notempty()) /* anything to restore ? */ { InputObjectState oldState = new InputObjectState(state); int result = objectAddr.restore_state(oldState, ObjectType.RECOVERABLE) ? TwoPhaseOutcome.FINISH_OK : TwoPhaseOutcome.FINISH_ERROR; if (result == TwoPhaseOutcome.FINISH_ERROR) { tsLogger.i18NLogger.warn_RecoveryRecord_2(); } return result; } } return TwoPhaseOutcome.FINISH_OK; }
/** * nestedAbort causes the restore_state function of the object to be invoked * passing it the saved ObjectState. */ public int nestedAbort () { if (tsLogger.logger.isDebugEnabled()) { tsLogger.logger.debug("RecoveryRecord::nestedAbort() for " + order()); } /* * First check that we have a state. We won't have for records created * by crash recovery. */ forgetAction(false); if (state != null) { if (state.notempty()) /* anything to restore ? */ { InputObjectState oldState = new InputObjectState(state); int result = objectAddr.restore_state(oldState, ObjectType.RECOVERABLE) ? TwoPhaseOutcome.FINISH_OK : TwoPhaseOutcome.FINISH_ERROR; if (result == TwoPhaseOutcome.FINISH_ERROR) { tsLogger.i18NLogger.warn_RecoveryRecord_2(); } return result; } } return TwoPhaseOutcome.FINISH_OK; }
/** * nestedAbort causes the restore_state function of the object to be invoked * passing it the saved ObjectState. */ public int nestedAbort () { if (tsLogger.logger.isDebugEnabled()) { tsLogger.logger.debug("RecoveryRecord::nestedAbort() for " + order()); } /* * First check that we have a state. We won't have for records created * by crash recovery. */ forgetAction(false); if (state != null) { if (state.notempty()) /* anything to restore ? */ { InputObjectState oldState = new InputObjectState(state); int result = objectAddr.restore_state(oldState, ObjectType.RECOVERABLE) ? TwoPhaseOutcome.FINISH_OK : TwoPhaseOutcome.FINISH_ERROR; if (result == TwoPhaseOutcome.FINISH_ERROR) { tsLogger.i18NLogger.warn_RecoveryRecord_2(); } return result; } } return TwoPhaseOutcome.FINISH_OK; }
if ((result = restore_state(oldState, ObjectType.ANDPERSISTENT)))
if ((result = restore_state(oldState, ObjectType.ANDPERSISTENT)))
if ((result = restore_state(oldState, ObjectType.ANDPERSISTENT)))
if ((result = restore_state(oldState, ObjectType.ANDPERSISTENT)))
if ((result = restore_state(oldState, ObjectType.ANDPERSISTENT)))
if ((result = restore_state(oldState, ObjectType.ANDPERSISTENT)))
if ((result = restore_state(oldState, ObjectType.ANDPERSISTENT)))
if ((result = restore_state(oldState, ObjectType.ANDPERSISTENT)))
int result = objectAddr.restore_state(oldState, ObjectType.RECOVERABLE) ? TwoPhaseOutcome.FINISH_OK : TwoPhaseOutcome.FINISH_ERROR;
if ((result = restore_state(oldState, ObjectType.ANDPERSISTENT)))