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.
|
Copyright © 2013. All rights reserved.