public class CancelRequest
extends java.lang.Object
Constructor and Description |
---|
CancelRequest()
Initialize a TCC Cancel request
|
CancelRequest(java.util.List<TccParticipant> participants)
Initialize the Cancel request with a list of TCC participant information which are called to Cancel updates associated with the current transaction
|
Modifier and Type | Method and Description |
---|---|
void |
addParticipants(java.util.List<TccParticipant> participants)
Add more TCC participants to the current transaction
|
java.util.List<TccParticipant> |
getParticipants()
Get a list of TCC participant information
|
java.lang.String |
toString() |
public CancelRequest(java.util.List<TccParticipant> participants)
participants
- list of TCC participant informationpublic CancelRequest()
public java.util.List<TccParticipant> getParticipants()
public void addParticipants(java.util.List<TccParticipant> participants)
participants
- list of TCC participant informationpublic java.lang.String toString()
toString
in class java.lang.Object
Copyright © 2022, Oracle and/or its affiliates.