public class Extent
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
VERSION
Major version indicator.
|
| Constructor and Description |
|---|
Extent() |
Extent(java.lang.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(java.util.Map<java.lang.String,java.lang.Integer> participants) |
java.lang.String |
getParentTransactionId() |
java.util.Stack<Participant> |
getParticipants() |
java.util.Map<java.lang.String,java.lang.Integer> |
getRemoteParticipants() |
java.lang.String |
toString() |
public static final java.lang.String VERSION
public Extent()
public Extent(java.lang.String parentTransactionId)
public java.lang.String getParentTransactionId()
public void addRemoteParticipants(java.util.Map<java.lang.String,java.lang.Integer> participants)
throws java.lang.IllegalStateException,
SysException
java.lang.IllegalStateExceptionSysExceptionpublic java.util.Map<java.lang.String,java.lang.Integer> getRemoteParticipants()
public java.util.Stack<Participant> getParticipants()
public void add(Participant participant, int count) throws SysException, java.lang.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.java.lang.IllegalStateException - If no longer allowed.SysExceptionpublic void add(Extent extent) throws java.lang.IllegalStateException, SysException
extent - The extent to add.java.lang.IllegalStateException - If no longer allowed.SysExceptionpublic java.lang.String toString()
toString in class java.lang.ObjectCopyright © 2019. All Rights Reserved.