Modifier and Type | Method and Description |
---|---|
GlobalId |
UserActivity.activityId() |
String |
UserActivity.activityName()
What is the name of the current activity? Use only for
debugging purposes!
|
void |
ActivityManager.addHLS(HLS service)
Register the specified HLS with the activity service.
|
HLS[] |
ActivityManager.allHighLevelServices()
Allows an invoker to obtain a list of all registered HLSs.
|
ActivityHierarchy |
UserActivity.currentActivity() |
Outcome |
UserActivity.end()
Complete the activity with the current completion status.
|
Outcome |
UserActivity.end(CompletionStatus cs)
Complete the activity with the completion status provided.
|
CompletionStatus |
UserActivity.getCompletionStatus()
Get the completion status currently associated with the activity.
|
HLS |
ActivityManager.getHighLevelService(String serviceType)
Allows an invoker to obtain a specific registered HLS supporting a given coordination type.
|
int |
UserActivity.getTimeout()
Get the timeout value currently associated with activities.
|
void |
ActivityManager.removeHLS(HLS service)
Unregister the specified HLS with the activity service.
|
void |
UserActivity.resume(ActivityHierarchy tx)
Given a token representing a context, associate it with the current
thread of control.
|
String |
UserActivity.serviceType() |
void |
UserActivity.setCompletionStatus(CompletionStatus endStatus)
Set the termination status for the current activity, if any.
|
void |
UserActivity.setTimeout(int timeout)
Set the timeout to be associated with all subsequently created
activities.
|
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.
|
Status |
UserActivity.status() |
ActivityHierarchy |
UserActivity.suspend()
Suspend the current activity from this thread and return the token
representing the context, if any, or null otherwise.
|
Modifier and Type | Method and Description |
---|---|
void |
HLS.begun()
An activity has begun and is active on the current thread.
|
Outcome |
HLS.complete(CompletionStatus cs)
The current activity is completing with the specified completion status.
|
void |
HLS.completed()
The activity has completed and is still active on the current
thread.
|
CompletionStatus |
Outcome.completedStatus()
The state in which the activity completed.
|
Context |
HLS.context()
Return the context augmentation for this HLS, if any on the current
activity, i.e., the activity active on the current thread.
|
Object |
Outcome.data()
Outcome specific information that can be used to determine finer
level details about the outcome instance.
|
String |
HLS.identity()
The HLS name.
|
String |
Outcome.name()
Give a name for this outcome.
|
int |
HLS.priority()
The activity service maintains a priority ordered list of HLS
implementations.
|
void |
HLS.resumed()
The activity has been resumed on the current thread and is active on
that thread.
|
void |
HLS.suspended()
The activity is being suspended, but is still active on the current
thread.
|
Modifier and Type | Class and Description |
---|---|
class |
HLSException
Thrown the HLS completion fails.
|
class |
SystemCommunicationException
Marker interface for exceptions e.g.
|
Constructor and Description |
---|
HLSException(String reason,
SystemException obj) |
HLSException(SystemException ex) |
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.
|
CoordinatorId |
UserCoordinatorService.identifier() |
Qualifier[] |
UserCoordinatorService.qualifiers() |
Status |
UserCoordinatorService.status() |
Modifier and Type | Class and Description |
---|---|
class |
BegunFailedException
The coordination protocol failed to start.
|
class |
NoCoordinatorException
There is no coordinator associated with the target.
|
class |
UnexpectedException
A general error has occurred.
|
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.
|
ActivityHierarchy |
UserCoordinator.currentActivity() |
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.
|
int |
UserCoordinator.getTimeout()
Get the timeout value currently associated with activities.
|
CoordinatorId |
UserCoordinator.identifier() |
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 |
CoordinatorManager.participantFaulted(String participantId)
A participant has faulted during normal execution or compensation.
|
void |
UserCoordinator.resume(ActivityHierarchy tx)
Given a token representing a context, associate it with the current
thread of control.
|
void |
UserCoordinator.setCancelOnly()
Set the termination status for the current activity to cancel only.
|
void |
UserCoordinator.setTimeout(int timeout)
Set the timeout to be associated with all subsequently created
activities.
|
Status |
UserCoordinator.status() |
ActivityHierarchy |
UserCoordinator.suspend()
Suspend the current activity from this thread and return the token
representing the context, if any, or null otherwise.
|
Modifier and Type | Class and Description |
---|---|
class |
CancelFailedException
A fail occurred during a Business Agreement cancel operation -- only applies in WSBA 1.1.
|
class |
CompensateFailedException
There is no coordinator associated with the target.
|
class |
CoordinatorCancelledException
There is no coordinator associated with the target.
|
class |
CoordinatorConfirmedException
There is no coordinator associated with the target.
|
class |
DuplicateSynchronizationException
There is no coordinator associated with the target.
|
class |
InvalidSynchronizationException
There is no coordinator associated with the target.
|
Modifier and Type | Method and Description |
---|---|
CompletionStatus |
CoordinationOutcome.completedStatus()
The state in which the activity completed.
|
Object |
CoordinationOutcome.data()
Outcome specific information that can be used to determine finer
level details about the outcome instance.
|
String |
CoordinationOutcome.name()
Give a name for this outcome.
|
Modifier and Type | Method and Description |
---|---|
void |
Synchronization.afterCompletion(int status)
The transaction that the instance is enrolled with has either closed or compensated and
the relevant termination state ss passed as a parameter.
|
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.
|
String |
Participant.id() |
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.
|
ActivityHierarchy |
UserCoordinator.currentActivity() |
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.
|
int |
UserCoordinator.getTimeout()
Get the timeout value currently associated with activities.
|
CoordinatorId |
UserCoordinator.identifier() |
void |
CoordinatorManager.participantReadOnly(String participantId)
A participant is readonly.
|
void |
CoordinatorManager.participantRolledback(String participantId)
The participant has rolled back.
|
void |
UserCoordinator.resume(ActivityHierarchy tx)
Given a token representing a context, associate it with the current
thread of control.
|
void |
UserCoordinator.setCancelOnly()
Set the termination status for the current activity to cancel only.
|
void |
UserCoordinator.setTimeout(int timeout)
Set the timeout to be associated with all subsequently created
activities.
|
Status |
UserCoordinator.status() |
ActivityHierarchy |
UserCoordinator.suspend()
Suspend the current activity from this thread and return the token
representing the context, if any, or null otherwise.
|
Modifier and Type | Class and Description |
---|---|
class |
HeuristicCancelException
There is no coordinator associated with the target.
|
class |
HeuristicConfirmException
There is no coordinator associated with the target.
|
class |
HeuristicHazardException
There is no coordinator associated with the target.
|
class |
HeuristicMixedException
There is no coordinator associated with the target.
|
class |
ParticipantCancelledException
There is no coordinator associated with the target.
|
Modifier and Type | Method and Description |
---|---|
CompletionStatus |
CoordinationOutcome.completedStatus()
The state in which the activity completed.
|
Object |
CoordinationOutcome.data()
Outcome specific information that can be used to determine finer
level details about the outcome instance.
|
String |
CoordinationOutcome.name()
Give a name for this outcome.
|
Modifier and Type | Method and Description |
---|---|
void |
Synchronization.afterCompletion(int status)
The transaction that the instance is enrolled with has completed and
the state in which is completed is passed as a parameter.
|
void |
Synchronization.beforeCompletion()
The transaction that the instance is enrolled with is about to
commit.
|
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.
|
String |
Participant.id() |
Vote |
Participant.prepare()
Prepare the participant for top-level.
|
Modifier and Type | Method and Description |
---|---|
static CoordinatorManager |
CoordinatorManagerFactory.coordinatorManager() |
static CoordinatorManager |
CoordinatorManagerFactory.coordinatorManager(String protocol)
Obtain a reference to a coordinator that implements the specified
protocol.
|
static UserCoordinator |
UserCoordinatorFactory.userCoordinator() |
static UserCoordinator |
UserCoordinatorFactory.userCoordinator(String protocol)
Obtain a reference to a coordinator that implements the specified
protocol.
|
Modifier and Type | Method and Description |
---|---|
static CoordinatorManager |
CoordinatorManagerFactory.coordinatorManager() |
static CoordinatorManager |
CoordinatorManagerFactory.coordinatorManager(String protocol)
Obtain a reference to a coordinator that implements the specified
protocol.
|
static UserCoordinator |
UserCoordinatorFactory.userCoordinator() |
static UserCoordinator |
UserCoordinatorFactory.userCoordinator(String protocol)
Obtain a reference to a coordinator that implements the specified
protocol.
|
Modifier and Type | Method and Description |
---|---|
GlobalId |
UserActivityImple.activityId() |
String |
UserActivityImple.activityName()
What is the name of the current activity? Use only for
debugging purposes!
|
void |
ActivityManagerImple.addHLS(HLS service) |
HLS[] |
ActivityManagerImple.allHighLevelServices() |
ActivityHierarchy |
UserActivityImple.currentActivity() |
Outcome |
UserActivityImple.end()
Complete the activity with the completion status provided.
|
Outcome |
UserActivityImple.end()
Complete the activity with the completion status provided.
|
Outcome |
UserActivityImple.end(CompletionStatus cs)
Complete the activity with the completion status provided.
|
CompletionStatus |
UserActivityImple.getCompletionStatus()
Get the completion status currently associated with the activity.
|
HLS |
ActivityManagerImple.getHighLevelService(String serviceType) |
int |
UserActivityImple.getTimeout()
Get the timeout value currently associated with activities.
|
void |
ActivityManagerImple.removeHLS(HLS service) |
void |
UserActivityImple.resume(ActivityHierarchy tx)
Given a token representing a context, associate it with the current
thread of control.
|
String |
UserActivityImple.serviceType() |
void |
UserActivityImple.setCompletionStatus(CompletionStatus endStatus)
Set the termination status for the current activity, if any.
|
void |
UserActivityImple.setTimeout(int timeout)
Set the timeout to be associated with all subsequently created
activities.
|
void |
UserActivityImple.start(String serviceType)
Start a new activity.
|
void |
UserActivityImple.start(String serviceType,
int timeout)
Start a new activity.
|
Status |
UserActivityImple.status() |
ActivityHierarchy |
UserActivityImple.suspend()
Suspend the current activity from this thread and return the token
representing the context, if any, or null otherwise.
|
Modifier and Type | Method and Description |
---|---|
String |
ActivityImple.activityName()
What is the name of the current activity? Use only for debugging
purposes!
|
static void |
HLSManager.addHLS(HLS service) |
static HLS[] |
HLSManager.allHighLevelServices() |
CompletionStatus |
OutcomeImple.completedStatus()
The state in which the activity completed.
|
Object |
OutcomeImple.data()
Outcome specific information that can be used to determine finer
level details about the outcome instance.
|
Outcome |
ActivityImple.end()
Complete the activity with the current completion status.
|
Outcome |
ActivityImple.end(CompletionStatus cs)
Complete the activity with the completion status provided.
|
CompletionStatus |
ActivityImple.getCompletionStatus()
Get the completion status currently associated with the activity.
|
static HLS |
HLSManager.getHighLevelService(String serviceType) |
int |
ActivityImple.getTimeout()
Get the timeout value currently associated with activities.
|
String |
OutcomeImple.name()
Give a name for this outcome.
|
static void |
HLSManager.removeHLS(HLS service) |
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.
|
Status |
ActivityImple.status() |
Modifier and Type | Method and Description |
---|---|
Object |
LocalFactory.createSubordinate()
Create a new subordinate coordinator instance with the default subordinate type.
|
Object |
LocalFactory.createSubordinate(String subordinateType)
Create a new subordinate coordinator instance with the supplied subordinate type.
|
Modifier and Type | Method and Description |
---|---|
void |
CoordinatorControl.begin()
An activity has begun and is active on the current thread.
|
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.
|
int |
BACoordinator.close()
close 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 |
CoordinatorControl.complete(CompletionStatus cs)
The current activity is completing with the specified completion status.
|
void |
CoordinatorControl.completed()
The activity has completed and is no longer active on the current
thread.
|
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.
|
BACoordinator |
CoordinatorControl.createSubordinate()
Create a subordinate transaction, i.e., one which can be driven
through complete, close and cancel.
|
BACoordinator |
CoordinatorServiceImple.createSubordinate()
Create a subordinate coordinator via the coordination control.
|
ActivityHierarchy |
CoordinatorServiceImple.currentActivity() |
BACoordinator |
CoordinatorControl.currentCoordinator() |
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.
|
int |
CoordinatorServiceImple.getTimeout()
Get the timeout value currently associated with activities.
|
CoordinatorId |
BACoordinator.identifier() |
CoordinatorId |
CoordinatorControl.identifier() |
CoordinatorId |
CoordinatorServiceImple.identifier() |
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 |
BACoordinator.participantFaulted(String participantId) |
void |
CoordinatorControl.participantFaulted(String participantId) |
void |
CoordinatorServiceImple.participantFaulted(String participantId) |
Qualifier[] |
BACoordinator.qualifiers() |
Qualifier[] |
CoordinatorControl.qualifiers()
Not supported by basic ArjunaCore.
|
void |
CoordinatorControl.resume()
The activity has been resumed on the current thread.
|
void |
CoordinatorServiceImple.resume(ActivityHierarchy tx)
Given a token representing a context, associate it with the current
thread of control.
|
void |
CoordinatorServiceImple.setCancelOnly()
Set the termination status for the current activity to cancel only.
|
void |
CoordinatorServiceImple.setTimeout(int timeout)
Set the timeout to be associated with all subsequently created
activities.
|
Status |
CoordinatorControl.status() |
Status |
CoordinatorServiceImple.status() |
void |
CoordinatorControl.suspend()
The activity has been suspended.
|
ActivityHierarchy |
CoordinatorServiceImple.suspend()
Suspend the current activity from this thread and return the token
representing the context, if any, or null otherwise.
|
Modifier and Type | Method and Description |
---|---|
int |
SubordinateBACoordinator.close()
this is driven by a coordinator-completion participant registered on behalf of the coordinator
and is required to propagate the close to all registered participants.
|
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 |
CoordinatorControl.begin()
An activity has begun and is active on the current thread.
|
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.
|
Outcome |
CoordinatorControl.complete(CompletionStatus cs)
The current activity is completing with the specified completion status.
|
void |
CoordinatorControl.completed()
The activity has completed and is no longer active on the current thread.
|
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.
|
ATCoordinator |
CoordinatorControl.createSubordinate(String subordinateType)
Create a subordinate transaction, i.e., one which can be driven
through prepare, commit and rollback.
|
ActivityHierarchy |
CoordinatorServiceImple.currentActivity() |
ATCoordinator |
CoordinatorControl.currentCoordinator() |
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.
|
int |
CoordinatorServiceImple.getTimeout()
Get the timeout value currently associated with activities.
|
CoordinatorId |
CoordinatorServiceImple.identifier() |
CoordinatorId |
CoordinatorControl.identifier() |
CoordinatorId |
ATCoordinator.identifier() |
void |
CoordinatorServiceImple.participantReadOnly(String participantId)
A participant is readonly.
|
void |
CoordinatorControl.participantReadOnly(String participantId) |
void |
ATCoordinator.participantReadOnly(String participantId) |
void |
CoordinatorServiceImple.participantRolledback(String participantId)
The participant has rolled back.
|
void |
CoordinatorControl.participantRolledBack(String participantId) |
void |
ATCoordinator.participantRolledBack(String participantId) |
Qualifier[] |
CoordinatorControl.qualifiers()
Not supported by basic ArjunaCore.
|
Qualifier[] |
ATCoordinator.qualifiers() |
void |
CoordinatorControl.resume()
The activity has been resumed on the current thread.
|
void |
CoordinatorServiceImple.resume(ActivityHierarchy tx)
Given a token representing a context, associate it with the current
thread of control.
|
void |
CoordinatorServiceImple.setCancelOnly()
Set the termination status for the current activity to cancel only.
|
void |
CoordinatorServiceImple.setTimeout(int timeout)
Set the timeout to be associated with all subsequently created
activities.
|
Status |
CoordinatorServiceImple.status() |
Status |
CoordinatorControl.status() |
ActivityHierarchy |
CoordinatorServiceImple.suspend()
Suspend the current activity from this thread and return the token
representing the context, if any, or null otherwise.
|
void |
CoordinatorControl.suspend()
The activity has been suspended.
|
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 |
---|---|
void |
SagasHLSImple.begun()
An activity has begun and is active on the current thread.
|
Outcome |
SagasHLSImple.complete(CompletionStatus cs)
The current activity is completing with the specified completion status.
|
void |
SagasHLSImple.completed()
The activity has completed and is no longer active on the current
thread.
|
Context |
SagasHLSImple.context()
Return the context augmentation for this HLS, if any on the current
activity.
|
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.
|
CoordinatorId |
SagasHLSImple.identifier() |
String |
SagasHLSImple.identity()
We identify the HLS by the name of the coordination protocol it supports.
|
int |
SagasHLSImple.priority()
The activity service maintains a priority ordered list of HLS
implementations.
|
Qualifier[] |
SagasHLSImple.qualifiers()
Not supported by basic ArjunaCore.
|
void |
SagasHLSImple.resumed()
The activity has been resumed on the current thread.
|
Status |
SagasHLSImple.status() |
void |
SagasHLSImple.suspended()
The activity has been suspended.
|
Modifier and Type | Method and Description |
---|---|
void |
TwoPhaseHLSImple.begun()
An activity has begun and is active on the current thread.
|
Outcome |
TwoPhaseHLSImple.complete(CompletionStatus cs)
The current activity is completing with the specified completion status.
|
void |
TwoPhaseHLSImple.completed()
The activity has completed and is no longer active on the current thread.
|
Context |
TwoPhaseHLSImple.context()
Return the context augmentation for this HLS, if any on the current
activity.
|
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.
|
CoordinatorId |
TwoPhaseHLSImple.identifier() |
String |
TwoPhaseHLSImple.identity()
The HLS name.
|
int |
TwoPhaseHLSImple.priority()
The activity service maintains a priority ordered list of HLS
implementations.
|
Qualifier[] |
TwoPhaseHLSImple.qualifiers()
Not supported by basic ArjunaCore.
|
void |
TwoPhaseHLSImple.resumed()
The activity has been resumed on the current thread.
|
Status |
TwoPhaseHLSImple.status() |
void |
TwoPhaseHLSImple.suspended()
The activity has been suspended.
|
Modifier and Type | Method and Description |
---|---|
void |
VolatileTwoPhaseCommitParticipant.afterCompletion(int status)
The transaction that the instance is enrolled with has completed and the
state in which is completed is passed as a parameter.
|
void |
VolatileTwoPhaseCommitParticipant.beforeCompletion()
The transaction that the instance is enrolled with is about to commit.
|
void |
DurableTwoPhaseCommitParticipant.cancel()
attempt to cancel the participant
|
void |
DurableTwoPhaseCommitParticipant.confirm()
attempt to commit the participant
|
void |
DurableTwoPhaseCommitParticipant.confirmOnePhase() |
void |
DurableTwoPhaseCommitParticipant.forget() |
String |
DurableTwoPhaseCommitParticipant.id() |
Vote |
DurableTwoPhaseCommitParticipant.prepare()
tell the participant to prepare
|
void |
DurableTwoPhaseCommitParticipant.unknown() |
Modifier and Type | Method and Description |
---|---|
Object |
ContextFactoryImple.createSubordinate() |
Object |
ContextFactoryImple.createSubordinate(String subordinateType) |
Constructor and Description |
---|
RegistrarImple() |
Modifier and Type | Method and Description |
---|---|
void |
CleanupSynchronization.afterCompletion(int status) |
void |
CleanupSynchronization.beforeCompletion() |
Modifier and Type | Method and Description |
---|---|
Object |
ContextFactoryImple.createSubordinate() |
Constructor and Description |
---|
RegistrarImple() |
Modifier and Type | Method and Description |
---|---|
void |
CleanupSynchronization.afterCompletion(int status) |
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.
|
String |
BusinessAgreementWithParticipantCompletionImple.id() |
String |
BusinessAgreementWithParticipantCompletionImple.status() |
void |
BusinessAgreementWithParticipantCompletionImple.unknown() |
Copyright © 2019 JBoss by Red Hat. All rights reserved.