/** * Deactivate a coordinator recovered from the log. * * @param coordinator The coordinator. */ public void deactivateCoordinator(CoordinatorInboundEvents coordinator) { activatedObjectProcessor.deactivateObject(coordinator); }
/** * Activate the participant. * @param participant The participant. * @param identifier The identifier. */ public void activateParticipant(final ParticipantCompletionParticipantInboundEvents participant, final String identifier) { activatedObjectProcessor.activateObject(participant, identifier) ; }
/** * Wait until the callback has triggered or failed. */ public final void waitUntilTriggered() { waitUntilTriggered(0) ; }
/** * Check whether a participant with the given id is currently active * @param identifier The identifier. */ public boolean isActive(final String identifier) { // if there is an entry in the table then it is active or completed and pending delete return (activatedObjectProcessor.getObject(identifier) != null); }
/** * Deactivate the object. * * @param object The object. */ public synchronized void deactivateObject(Object object) { deactivateObject(object, false); }
/** * Deactivate the coordinator. * @param coordinator The coordinator. */ public void deactivateCoordinator(final ParticipantCompletionCoordinatorInboundEvents coordinator) { activatedObjectProcessor.deactivateObject(coordinator) ; }
/** * Activate the participant. * @param participant The participant. * @param identifier The identifier. */ public void activateParticipant(final CompletionCoordinatorParticipant participant, final String identifier) { activatedObjectProcessor.activateObject(participant, identifier) ; }
/** * Check whether a participant with the given id is currently active * @param identifier The identifier. */ public boolean isActive(final String identifier) { return activatedObjectProcessor.getObject(identifier) != null; }
/** * Wait until the callback has triggered or failed. */ public final void waitUntilTriggered() { waitUntilTriggered(0) ; }
/** * Deactivate the participant. * @param participant The participant. */ public void deactivateParticipant(final CoordinatorCompletionParticipantInboundEvents participant) { activatedObjectProcessor.deactivateObject(participant) ; }
/** * Activate the object. * * @param object The object. * @param identifier The identifier. */ public synchronized void activateObject(Object object, String identifier) { super.activateObject(object, identifier); }
/** * Deactivate the participant. * @param participant The participant. */ public void deactivateParticipant(final CompletionCoordinatorParticipant participant) { activatedObjectProcessor.deactivateObject(participant) ; }
/** * Activate the participant. * @param participant The participant. * @param identifier The identifier. */ public void activateParticipant(final ParticipantInboundEvents participant, final String identifier) { activatedObjectProcessor.activateObject(participant, identifier) ; }
/** * Deactivate the participant. * @param participant The participant. */ public void deactivateParticipant(final ParticipantCompletionParticipantInboundEvents participant) { activatedObjectProcessor.deactivateObject(participant) ; }
/** * Deactivate the participant. * @param participant The participant. */ public void deactivateParticipant(final CompletionCoordinatorParticipant participant) { activatedObjectProcessor.deactivateObject(participant) ; }
/** * Deactivate the coordinator. * @param coordinator The coordinator. */ public void deactivateCoordinator(final CoordinatorCompletionCoordinatorInboundEvents coordinator) { activatedObjectProcessor.deactivateObject(coordinator) ; }
/** * Deactivate the participant. * @param participant The participant. */ public void deactivateParticipant(final CompletionCoordinatorParticipant participant) { activatedObjectProcessor.deactivateObject(participant) ; }
/** * Deactivate the coordinator. * @param coordinator The coordinator. */ public void deactivateCoordinator(final ParticipantCompletionCoordinatorInboundEvents coordinator) { activatedObjectProcessor.deactivateObject(coordinator) ; }
/** * Deactivate the coordinator. * @param coordinator The coordinator. */ public void deactivateCoordinator(final CoordinatorCompletionCoordinatorInboundEvents coordinator) { activatedObjectProcessor.deactivateObject(coordinator) ; }
/** * Deactivate the participant. * @param participant The participant. */ public void deactivateParticipant(final CoordinatorCompletionParticipantInboundEvents participant) { activatedObjectProcessor.deactivateObject(participant) ; }