public class PropagationImp extends Object implements Propagation
Propagation interface.| Constructor and Description |
|---|
PropagationImp(Stack<CompositeTransaction> lineage,
boolean serial,
long timeout)
Construct a new instance.
|
| Modifier and Type | Method and Description |
|---|---|
static Propagation |
adaptPropagation(Propagation propagation,
RecoveryCoordinator adaptor)
Create a new instance.
|
boolean |
equals(Object o)
Required for JBoss integration: client demarcation depends on this.
|
Stack<CompositeTransaction> |
getLineage() |
long |
getTimeOut() |
int |
hashCode()
Required for JBoss integration.
|
boolean |
isSerial() |
public PropagationImp(Stack<CompositeTransaction> lineage, boolean serial, long timeout)
lineage - The lineage stack of ancestors.serial - Serial mode indicator.timeout - The timeout left for the tx.public static Propagation adaptPropagation(Propagation propagation, RecoveryCoordinator adaptor)
propagation - The propagation for which to create a new instance.adaptor - The adaptor for replay requests.public Stack<CompositeTransaction> getLineage()
getLineage in interface PropagationPropagationpublic boolean isSerial()
isSerial in interface PropagationPropagationpublic long getTimeOut()
getTimeOut in interface PropagationPropagationpublic boolean equals(Object o)
Copyright © 2016. All Rights Reserved.