public class Extent extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
VERSION
Major version indicator.
|
| Constructor and Description |
|---|
Extent() |
Extent(Extent extent)
Creates a new extent with the supplied extent's participants as indirect participants only.
|
Extent(String parentTransactionId) |
| Modifier and Type | Method and Description |
|---|---|
void |
add(Extent extent)
Merges another extent into this one.
|
void |
add(Participant participant,
int count)
Adds a participant to the extent.
|
void |
addRemoteParticipants(Map<String,Integer> participants) |
String |
getParentTransactionId() |
Stack<Participant> |
getParticipants() |
Map<String,Integer> |
getRemoteParticipants() |
String |
toString() |
public static final String VERSION
public Extent()
public Extent(String parentTransactionId)
public Extent(Extent extent)
extent - public String getParentTransactionId()
public void addRemoteParticipants(Map<String,Integer> participants) throws IllegalStateException, SysException
IllegalStateExceptionSysExceptionpublic Map<String,Integer> getRemoteParticipants()
public Stack<Participant> getParticipants()
public void add(Participant participant, int count) throws SysException, IllegalStateException
participant - This instance will
be added to the indirect as well as to the direct participant set.count - The number of invocations detected by the adding client.IllegalStateException - If no longer allowed.SysExceptionpublic void add(Extent extent) throws IllegalStateException, SysException
extent - The extent to add.IllegalStateException - If no longer allowed.SysExceptionCopyright © 2022. All rights reserved.