/** * The record is being driven through nested commit and is the only * resource. * */ public int nestedOnePhaseCommit () { try { if (_resourceHandle != null) { return TwoPhaseOutcome.FINISH_ERROR; } else return TwoPhaseOutcome.FINISH_ERROR; } catch (Exception ex6) { wscfLogger.i18NLogger.warn_model_twophase_arjunacore_ParticipantRecord_9(order(), ex6); return TwoPhaseOutcome.FINISH_ERROR; } }
/** * The record is being driven through nested commit and is the only * resource. * */ public int nestedOnePhaseCommit () { try { if (_resourceHandle != null) { return TwoPhaseOutcome.FINISH_ERROR; } else return TwoPhaseOutcome.FINISH_ERROR; } catch (Exception ex6) { wscfLogger.i18NLogger.warn_model_twophase_arjunacore_ParticipantRecord_9(order(), ex6); return TwoPhaseOutcome.FINISH_ERROR; } }
/** * The record is being driven through nested commit. * */ public int nestedCommit () { try { if (_resourceHandle != null) { return TwoPhaseOutcome.FINISH_ERROR; } else return TwoPhaseOutcome.FINISH_ERROR; } catch (Exception ex6) { wscfLogger.i18NLogger.warn_model_twophase_arjunacore_ParticipantRecord_4(order(), ex6); return TwoPhaseOutcome.FINISH_ERROR; } }
/** * The record is being driven through nested prepare. * */ public int nestedPrepare () { try { if (_resourceHandle != null) { return TwoPhaseOutcome.FINISH_ERROR; } else return TwoPhaseOutcome.PREPARE_NOTOK; } catch (Exception e6) { wscfLogger.i18NLogger.warn_model_twophase_arjunacore_ParticipantRecord_5(order(), e6); return TwoPhaseOutcome.HEURISTIC_HAZARD; } }
/** * The record is being driven through nested prepare. * */ public int nestedPrepare () { try { if (_resourceHandle != null) { return TwoPhaseOutcome.FINISH_ERROR; } else return TwoPhaseOutcome.PREPARE_NOTOK; } catch (Exception e6) { wscfLogger.i18NLogger.warn_model_twophase_arjunacore_ParticipantRecord_5(order(), e6); return TwoPhaseOutcome.HEURISTIC_HAZARD; } }
/** * The record is being driven through nested commit. * */ public int nestedCommit () { try { if (_resourceHandle != null) { return TwoPhaseOutcome.FINISH_ERROR; } else return TwoPhaseOutcome.FINISH_ERROR; } catch (Exception ex6) { wscfLogger.i18NLogger.warn_model_twophase_arjunacore_ParticipantRecord_4(order(), ex6); return TwoPhaseOutcome.FINISH_ERROR; } }
/** * The record is being driven through nested rollback. * */ // TODO public int nestedAbort () { try { if (_resourceHandle != null) { return TwoPhaseOutcome.FINISH_ERROR; } else return TwoPhaseOutcome.FINISH_ERROR; } catch (Exception ex6) { wscfLogger.i18NLogger.warn_model_twophase_arjunacore_ParticipantRecord_3(order(), ex6); ex6.printStackTrace(); return TwoPhaseOutcome.FINISH_ERROR; } }
/** * The record is being driven through nested rollback. * */ // TODO public int nestedAbort () { try { if (_resourceHandle != null) { return TwoPhaseOutcome.FINISH_ERROR; } else return TwoPhaseOutcome.FINISH_ERROR; } catch (Exception ex6) { wscfLogger.i18NLogger.warn_model_twophase_arjunacore_ParticipantRecord_3(order(), ex6); ex6.printStackTrace(); return TwoPhaseOutcome.FINISH_ERROR; } }
/** * Constructor. * * @param theResource * is the proxy that allows us to call out to the object. * */ public ParticipantRecord (Participant theResource, Uid id) { super(id, null, ObjectType.ANDPERSISTENT); _resourceHandle = theResource; _timeout = 0; _coordId = new CoordinatorIdImple(id); if (theResource == null) wscfLogger.i18NLogger.warn_model_twophase_arjunacore_ParticipantRecord_1(order()); }
/** * Constructor. * * @param theResource * is the proxy that allows us to call out to the object. * */ public ParticipantRecord (Participant theResource, Uid id) { super(id, null, ObjectType.ANDPERSISTENT); _resourceHandle = theResource; _timeout = 0; _coordId = new CoordinatorIdImple(id); if (theResource == null) wscfLogger.i18NLogger.warn_model_twophase_arjunacore_ParticipantRecord_1(order()); }
wscfLogger.i18NLogger.warn_model_twophase_arjunacore_ParticipantRecord_6(order(), ex6);
wscfLogger.i18NLogger.warn_model_twophase_arjunacore_ParticipantRecord_6(order(), ex6);
wscfLogger.i18NLogger.warn_model_twophase_arjunacore_ParticipantRecord_10(order(), ex6);
wscfLogger.i18NLogger.warn_model_twophase_arjunacore_ParticipantRecord_10(order(), ex6);
wscfLogger.i18NLogger.warn_model_twophase_arjunacore_ParticipantRecord_8(order(), e6);
wscfLogger.i18NLogger.warn_model_twophase_arjunacore_ParticipantRecord_8(order(), e6);
wscfLogger.i18NLogger.warn_model_twophase_arjunacore_ParticipantRecord_7(order(), ex6);
wscfLogger.i18NLogger.warn_model_twophase_arjunacore_ParticipantRecord_7(order(), ex6);