| Package | Description |
|---|---|
| org.jboss.jbossts.star.client |
| Modifier and Type | Method and Description |
|---|---|
javax.ws.rs.core.Response |
GenericSRAExceptionMapper.toResponse(GenericSRAException exception) |
| Modifier and Type | Method and Description |
|---|---|
SRAInfo |
SRAApi.beginTransaction(Long timeout,
TimeUnit unit)
Begin a new SRA.
|
String |
SRAClientAPI.cancelSRA(URL sraId)
Attempt to cancel an SRA
Trigger the compensation of the SRA.
|
String |
SRAClient.cancelSRA(URL sraId) |
String |
SRAClientAPI.commitSRA(URL sraId)
Attempt to close an SRA
Trigger the successful completion of the SRA.
|
String |
SRAClient.commitSRA(URL sraId) |
List<SRAInfo> |
SRAClientAPI.getActiveSRAs()
Lookup active SRAs
|
List<SRAInfo> |
SRAClient.getActiveSRAs() |
List<SRAInfo> |
SRAClientAPI.getAllSRAs()
Returns all SRAs
Gets both active and recovering SRAs
|
List<SRAInfo> |
SRAClient.getAllSRAs() |
List<SRAInfo> |
SRAClientAPI.getRecoveringSRAs()
List recovering Long Running Actions
Returns SRAs that are recovering (ie some compensators still need to be ran)
|
List<SRAInfo> |
SRAClient.getRecoveringSRAs() |
Boolean |
SRAClientAPI.isActiveSRA(URL sraId)
Indicates whether an SRA is active
|
Boolean |
SRAClient.isActiveSRA(URL sraId) |
Boolean |
SRAClientAPI.isCompensatedSRA(URL sraId)
Indicates whether an SRA was compensated
|
Boolean |
SRAClient.isCompensatedSRA(URL sraId) |
Boolean |
SRAClientAPI.isCompletedSRA(URL sraId)
Indicates whether an SRA is complete
|
Boolean |
SRAClient.isCompletedSRA(URL sraId) |
void |
SRAClientAPI.joinSRA(URL sraId,
Long timelimit,
String body)
A SRAParticipant can join with the SRA at any time prior to the completion of an activity
|
void |
SRAClient.joinSRA(URL sraId,
Long timelimit,
String compensatorUrl) |
String |
SRAClientAPI.joinSRA(URL sraId,
Long timelimit,
String compensateUrl,
String completeUrl,
String leaveUrl,
String statusUrl)
Similar to
SRAClientAPI.joinSRA(URL, Long, String) but the various compensator urls
are passed in explicitly |
String |
SRAClient.joinSRA(URL sraId,
Long timelimit,
String compensateUrl,
String completeUrl,
String leaveUrl,
String statusUrl) |
String |
SRAClient.joinSRAWithLinkHeader(URL sraUrl,
Long timelimit,
String linkHeader) |
URL |
SRAClient.startSRA(String clientID,
Long timeout) |
URL |
SRAClientAPI.startSRA(URL parentSRA,
String clientID,
Long timeout,
TimeUnit unit) |
URL |
SRAClient.startSRA(URL parentSRA,
String clientID,
Long timeout,
TimeUnit unit) |
Copyright © 2021 JBoss by Red Hat. All rights reserved.