public class LoopContextHolder extends Object
| Constructor and Description |
|---|
LoopContextHolder() |
| Modifier and Type | Method and Description |
|---|---|
static void |
clearCurrent(ProcessContext context) |
Collection |
getCollection() |
static LoopContextHolder |
getCurrent(ProcessContext context,
boolean forceCreate) |
Stack<Integer> |
getForwardCounterStack() |
Stack<Integer> |
getLoopCounterStack() |
AtomicInteger |
getNrOfActiveInstances() |
AtomicInteger |
getNrOfCompletedInstances() |
AtomicInteger |
getNrOfInstances() |
boolean |
isCompletionConditionSatisfied() |
boolean |
isFailEnd() |
void |
setCollection(Collection collection) |
void |
setCompletionConditionSatisfied(boolean completionConditionSatisfied) |
void |
setFailEnd(boolean failEnd) |
public static LoopContextHolder getCurrent(ProcessContext context, boolean forceCreate)
public static void clearCurrent(ProcessContext context)
public AtomicInteger getNrOfInstances()
public AtomicInteger getNrOfActiveInstances()
public AtomicInteger getNrOfCompletedInstances()
public boolean isFailEnd()
public void setFailEnd(boolean failEnd)
public boolean isCompletionConditionSatisfied()
public void setCompletionConditionSatisfied(boolean completionConditionSatisfied)
public Collection getCollection()
public void setCollection(Collection collection)
Copyright © 2023 Seata. All rights reserved.