/** * Handle the exited event. * @param exited The exited notification. * @param map The addressing context. * @param arjunaContext The arjuna context. * * Active -> Active (invalid state) * Canceling -> Canceling (invalid state) * Completed -> Completed (invalid state) * Closing -> Closing (invalid state) * Compensating -> Compensating (invalid state) * Failing-Active -> Failing-Active (invalid state) * Failing-Canceling -> Failing-Canceling (invalid state) * Failing-Compensating -> Failing-Compensating (invalid state) * NotCompleting -> NotCompleting (invalid state) * Exiting -> Ended * Ended -> Ended */ public void exited(final NotificationType exited, final MAP map, final ArjunaContext arjunaContext) { final State current ; synchronized(this) { current = state ; if (current == State.STATE_EXITING) { ended() ; } } }
/** * Handle the not completed event. * @param notCompleted The notCompleted notification. * @param map The addressing context. * @param arjunaContext The arjuna context. * * Active -> Active (invalid state) * Canceling -> Canceling (invalid state) * Completed -> Completed (invalid state) * Closing -> Closing (invalid state) * Compensating -> Compensating (invalid state) * Failing-Active -> Failing-Active (invalid state) * Failing-Canceling -> Failing-Canceling (invalid state) * Failing-Compensating -> Failing-Compensating (invalid state) * NotCompleting -> Ended * Exiting -> Exiting (invalid state) * Ended -> Ended */ public void notCompleted(final NotificationType notCompleted, final MAP map, final ArjunaContext arjunaContext) { final State current ; synchronized(this) { current = state ; if (current == State.STATE_NOT_COMPLETING) { ended() ; } } }
/** * Handle the exited event. * @param exited The exited notification. * @param map The addressing context. * @param arjunaContext The arjuna context. * * Active -> Active (invalid state) * Canceling -> Canceling (invalid state) * Completed -> Completed (invalid state) * Closing -> Closing (invalid state) * Compensating -> Compensating (invalid state) * Failing-Active -> Failing-Active (invalid state) * Failing-Canceling -> Failing-Canceling (invalid state) * Failing-Compensating -> Failing-Compensating (invalid state) * NotCompleting -> NotCompleting (invalid state) * Exiting -> Ended * Ended -> Ended */ public void exited(final NotificationType exited, final MAP map, final ArjunaContext arjunaContext) { final State current ; synchronized(this) { current = state ; if (current == State.STATE_EXITING) { ended() ; } } }
/** * Handle the not completed event. * @param notCompleted The notCompleted notification. * @param map The addressing context. * @param arjunaContext The arjuna context. * * Active -> Active (invalid state) * Canceling -> Canceling (invalid state) * Completed -> Completed (invalid state) * Closing -> Closing (invalid state) * Compensating -> Compensating (invalid state) * Failing-Active -> Failing-Active (invalid state) * Failing-Canceling -> Failing-Canceling (invalid state) * Failing-Compensating -> Failing-Compensating (invalid state) * NotCompleting -> Ended * Exiting -> Exiting (invalid state) * Ended -> Ended */ public void notCompleted(final NotificationType notCompleted, final MAP map, final ArjunaContext arjunaContext) { final State current ; synchronized(this) { current = state ; if (current == State.STATE_NOT_COMPLETING) { ended() ; } } }
/** * Handle the not completed event. * @param notCompleted The notCompleted notification. * @param map The addressing context. * @param arjunaContext The arjuna context. * * Active -> Active (invalid state) * Canceling -> Canceling (invalid state) * Completed -> Completed (invalid state) * Closing -> Closing (invalid state) * Compensating -> Compensating (invalid state) * Failing-Active -> Failing-Active (invalid state) * Failing-Canceling -> Failing-Canceling (invalid state) * Failing-Compensating -> Failing-Compensating (invalid state) * NotCompleting -> Ended * Exiting -> Exiting (invalid state) * Ended -> Ended */ public void notCompleted(final NotificationType notCompleted, final MAP map, final ArjunaContext arjunaContext) { final State current ; synchronized(this) { current = state ; if (current == State.STATE_NOT_COMPLETING) { ended() ; } } }
/** * Handle the exited event. * @param exited The exited notification. * @param map The addressing context. * @param arjunaContext The arjuna context. * * Active -> Active (invalid state) * Canceling -> Canceling (invalid state) * Completed -> Completed (invalid state) * Closing -> Closing (invalid state) * Compensating -> Compensating (invalid state) * Failing-Active -> Failing-Active (invalid state) * Failing-Canceling -> Failing-Canceling (invalid state) * Failing-Compensating -> Failing-Compensating (invalid state) * NotCompleting -> NotCompleting (invalid state) * Exiting -> Ended * Ended -> Ended */ public void exited(final NotificationType exited, final MAP map, final ArjunaContext arjunaContext) { final State current ; synchronized(this) { current = state ; if (current == State.STATE_EXITING) { ended() ; } } }
(current == State.STATE_FAILING_COMPENSATING)) ended();
(current == State.STATE_FAILING_COMPENSATING)) ended();
(current == State.STATE_FAILING_COMPENSATING)) ended();