Modifier and Type | Method and Description |
---|---|
Outcome |
UserActivity.end()
Complete the activity with the current completion status.
|
Outcome |
UserActivity.end(CompletionStatus cs)
Complete the activity with the completion status provided.
|
void |
UserActivity.setCompletionStatus(CompletionStatus endStatus)
Set the termination status for the current activity, if any.
|
void |
UserActivity.start(String serviceType)
Start a new activity with a given coordination type.
|
void |
UserActivity.start(String serviceType,
int timeout)
Start a new activity with a given coordination type.
|
Modifier and Type | Method and Description |
---|---|
Outcome |
UserCoordinatorService.coordinate(CompletionStatus cs)
If the application requires and if the coordination protocol supports
it, then this method can be used to execute a coordination protocol on
the currently enlisted participants at any time prior to the termination
of the coordination scope.
|
Modifier and Type | Method and Description |
---|---|
void |
UserCoordinator.begin(String coordinationType)
Start a new activity.
|
void |
UserCoordinator.begin(String coordinationType,
int timeout)
Start a new activity.
|
void |
UserCoordinator.cancel()
Cancel the activity.
|
void |
UserCoordinator.close()
Confirm the current activity.
|
void |
UserCoordinator.complete()
Complete the activity.
|
void |
CoordinatorManager.delistParticipant(String participantId)
Remove the specified participant from the coordinator associated with
the current thread.
|
void |
CoordinatorManager.enlistParticipant(Participant act)
Enrol the specified participant with the coordinator associated with
the current thread.
|
void |
CoordinatorManager.participantCannotComplete(String participantId)
A participant cannot complete during normal execution or compensation.
|
void |
CoordinatorManager.participantCompleted(String participantId)
The participant has completed its work and it ready to compensate
if necessary.
|
void |
UserCoordinator.setCancelOnly()
Set the termination status for the current activity to cancel only.
|
Modifier and Type | Method and Description |
---|---|
void |
Participant.cancel()
Cancel the participant at top-level.
|
void |
Participant.close()
Confirm the participant at top-level.
|
void |
Participant.compensate()
Compensate the participant.
|
void |
ParticipantWithComplete.complete()
Complete the participant.
|
void |
Participant.forget()
Inform the participant that is can forget the heuristic result.
|
Modifier and Type | Method and Description |
---|---|
void |
UserCoordinator.begin(String serviceType)
Start a new activity.
|
void |
UserCoordinator.begin(String serviceType,
int timeout)
Start a new activity.
|
void |
UserCoordinator.cancel()
Cancel the activity.
|
void |
UserCoordinator.confirm()
Confirm the current activity.
|
void |
CoordinatorManager.delistParticipant(Participant act)
Remove the specified participant from the coordinator associated with
the current thread.
|
void |
CoordinatorManager.delistSynchronization(Synchronization act)
Remove the specified synchronization from the coordinator associated
with the current thread.
|
void |
CoordinatorManager.enlistParticipant(Participant act)
Enrol the specified participant with the coordinator associated with
the current thread.
|
void |
CoordinatorManager.enlistSynchronization(Synchronization act)
Enrol the specified synchronization with the coordinator associated with
the current thread.
|
void |
CoordinatorManager.participantRolledback(String participantId)
The participant has rolled back.
|
void |
UserCoordinator.setCancelOnly()
Set the termination status for the current activity to cancel only.
|
Modifier and Type | Method and Description |
---|---|
void |
Participant.cancel()
Cancel the participant at top-level.
|
void |
Participant.confirm()
Confirm the participant at top-level.
|
void |
Participant.confirmOnePhase()
Confirm the participant in a single phase.
|
void |
Participant.forget()
Inform the participant that is can forget the heuristic result.
|
Vote |
Participant.prepare()
Prepare the participant for top-level.
|
Modifier and Type | Method and Description |
---|---|
Outcome |
UserActivityImple.end()
Complete the activity with the completion status provided.
|
Outcome |
UserActivityImple.end(CompletionStatus cs)
Complete the activity with the completion status provided.
|
void |
UserActivityImple.setCompletionStatus(CompletionStatus endStatus)
Set the termination status for the current activity, if any.
|
void |
UserActivityImple.start(String serviceType)
Start a new activity.
|
void |
UserActivityImple.start(String serviceType,
int timeout)
Start a new activity.
|
Modifier and Type | Method and Description |
---|---|
void |
ActivityImple.completionValid(CompletionStatus cs)
Check whether the specified completion status is compatible with the one
currently assigned to the activity.
|
Outcome |
ActivityImple.end()
Complete the activity with the current completion status.
|
Outcome |
ActivityImple.end(CompletionStatus cs)
Complete the activity with the completion status provided.
|
void |
ActivityImple.setCompletionStatus(CompletionStatus endStatus)
Set the termination status for the current activity, if any.
|
void |
ActivityImple.start()
Start a new activity.
|
void |
ActivityImple.start(int timeout)
Start a new activity.
|
Modifier and Type | Method and Description |
---|---|
void |
CoordinatorServiceImple.begin(String coordinationType)
Start a new activity.
|
void |
CoordinatorServiceImple.begin(String coordinationType,
int timeout)
Start a new activity.
|
void |
CoordinatorServiceImple.cancel()
Cancel the activity.
|
void |
CoordinatorServiceImple.close()
Confirm the activity.
|
void |
BACoordinator.complete()
ensure all ParticipantCompletion participants have completed and then send a complete message to
any remaining CoordinatorCompletion participants.
|
void |
CoordinatorControl.complete()
The current activity is completing and informs the participants
that all work they need to know about has been received.
|
void |
CoordinatorServiceImple.complete()
Complete the activity.
|
Outcome |
BACoordinator.coordinate(CompletionStatus cs)
If the application requires and if the coordination protocol supports it,
then this method can be used to execute a coordination protocol on the
currently enlisted participants at any time prior to the termination of
the coordination scope.
|
Outcome |
CoordinatorControl.coordinate(CompletionStatus cs)
If the application requires and if the coordination protocol supports
it, then this method can be used to execute a coordination protocol on
the currently enlisted participants at any time prior to the termination
of the coordination scope.
|
void |
BACoordinator.delistParticipant(String participantId)
Remove the specified participant from the coordinator's list.
|
void |
CoordinatorControl.delistParticipant(String participantId)
Remove the specified participant from the coordinator's list.
|
void |
CoordinatorServiceImple.delistParticipant(String participantId)
Remove the specified participant from the coordinator's list.
|
void |
BACoordinator.delistSynchronization(Synchronization act)
Remove the specified synchronization from the coordinator's list.
|
void |
BACoordinator.enlistParticipant(Participant act)
Enrol the specified participant with the coordinator associated with the
current thread.
|
void |
CoordinatorControl.enlistParticipant(Participant act)
Enrol the specified participant with the coordinator associated with
the current thread.
|
void |
CoordinatorServiceImple.enlistParticipant(Participant act)
Enrol the specified participant with the coordinator associated with
the current thread.
|
void |
BACoordinator.enlistSynchronization(Synchronization act)
Enrol the specified synchronization with the coordinator associated with
the current thread.
|
void |
BACoordinator.participantCannotComplete(String participantId) |
void |
CoordinatorControl.participantCannotComplete(String participantId) |
void |
CoordinatorServiceImple.participantCannotComplete(String participantId) |
void |
BACoordinator.participantCompleted(String participantId) |
void |
CoordinatorControl.participantCompleted(String participantId) |
void |
CoordinatorServiceImple.participantCompleted(String participantId) |
void |
CoordinatorServiceImple.setCancelOnly()
Set the termination status for the current activity to cancel only.
|
Modifier and Type | Method and Description |
---|---|
void |
SubordinateBACoordinator.complete()
this is driven by a coordinator-completion participant registered on behalf of the coordinator
and is required to propagate the complete to all registered coordinator-completion participants.
|
Outcome |
SubordinateBACoordinator.coordinate(CompletionStatus cs)
If the application requires and if the coordination protocol supports it,
then this method can be used to execute a coordination protocol on the
currently enlisted participants at any time prior to the termination of
the coordination scope.
|
Modifier and Type | Method and Description |
---|---|
void |
CoordinatorServiceImple.begin(String serviceType)
Start a new activity.
|
void |
CoordinatorServiceImple.begin(String serviceType,
int timeout)
Start a new activity.
|
void |
CoordinatorServiceImple.cancel()
Cancel the activity.
|
void |
CoordinatorServiceImple.confirm()
Confirm the activity.
|
Outcome |
CoordinatorControl.coordinate(CompletionStatus cs)
If the application requires and if the coordination protocol supports it,
then this method can be used to execute a coordination protocol on the
currently enlisted participants at any time prior to the termination of
the coordination scope.
|
Outcome |
ATCoordinator.coordinate(CompletionStatus cs)
If the application requires and if the coordination protocol supports it,
then this method can be used to execute a coordination protocol on the
currently enlisted participants at any time prior to the termination of
the coordination scope.
|
void |
CoordinatorServiceImple.delistParticipant(Participant act)
Remove the specified participant from the coordinator's list.
|
void |
CoordinatorControl.delistParticipant(Participant act)
Remove the specified participant from the coordinator's list.
|
void |
ATCoordinator.delistParticipant(Participant act)
Remove the specified participant from the coordinator's list.
|
void |
CoordinatorServiceImple.delistSynchronization(Synchronization act)
Remove the specified synchronization from the coordinator's list.
|
void |
CoordinatorControl.delistSynchronization(Synchronization act)
Remove the specified synchronization from the coordinator's list.
|
void |
ATCoordinator.delistSynchronization(Synchronization act)
Remove the specified synchronization from the coordinator's list.
|
void |
CoordinatorServiceImple.enlistParticipant(Participant act)
Enrol the specified participant with the coordinator associated with the
current thread.
|
void |
CoordinatorControl.enlistParticipant(Participant act)
Enrol the specified participant with the coordinator associated with the
current thread.
|
void |
ATCoordinator.enlistParticipant(Participant act)
Enrol the specified participant with the coordinator associated with the
current thread.
|
void |
CoordinatorServiceImple.enlistSynchronization(Synchronization act)
Enrol the specified synchronization with the coordinator associated with
the current thread.
|
void |
CoordinatorControl.enlistSynchronization(Synchronization act)
Enrol the specified synchronization with the coordinator associated with
the current thread.
|
void |
ATCoordinator.enlistSynchronization(Synchronization act)
Enrol the specified synchronization with the coordinator associated with
the current thread.
|
void |
CoordinatorServiceImple.participantRolledback(String participantId)
The participant has rolled back.
|
void |
CoordinatorControl.participantRolledBack(String participantId) |
void |
ATCoordinator.participantRolledBack(String participantId) |
void |
CoordinatorServiceImple.setCancelOnly()
Set the termination status for the current activity to cancel only.
|
Modifier and Type | Method and Description |
---|---|
Outcome |
SubordinateATCoordinator.coordinate(CompletionStatus cs)
If the application requires and if the coordination protocol supports it,
then this method can be used to execute a coordination protocol on the
currently enlisted participants at any time prior to the termination of
the coordination scope.
|
Modifier and Type | Method and Description |
---|---|
Outcome |
SagasHLSImple.coordinate(CompletionStatus cs)
If the application requires and if the coordination protocol supports
it, then this method can be used to execute a coordination protocol on
the currently enlisted participants at any time prior to the termination
of the coordination scope.
|
Modifier and Type | Method and Description |
---|---|
Outcome |
TwoPhaseHLSImple.coordinate(CompletionStatus cs)
If the application requires and if the coordination protocol supports it,
then this method can be used to execute a coordination protocol on the
currently enlisted participants at any time prior to the termination of
the coordination scope.
|
Modifier and Type | Method and Description |
---|---|
void |
DurableTwoPhaseCommitParticipant.cancel()
attempt to cancel the participant
|
void |
DurableTwoPhaseCommitParticipant.confirm()
attempt to commit the participant
|
void |
DurableTwoPhaseCommitParticipant.confirmOnePhase() |
void |
DurableTwoPhaseCommitParticipant.forget() |
Vote |
DurableTwoPhaseCommitParticipant.prepare()
tell the participant to prepare
|
Modifier and Type | Method and Description |
---|---|
void |
BusinessAgreementWithParticipantCompletionImple.cancel() |
void |
BusinessAgreementWithParticipantCompletionImple.close() |
void |
BusinessAgreementWithParticipantCompletionImple.compensate() |
void |
BusinessAgreementWithCoordinatorCompletionImple.complete() |
void |
BusinessAgreementWithParticipantCompletionImple.forget()
Inform the participant that is can forget the heuristic result.
|
Copyright © 2019 JBoss by Red Hat. All rights reserved.