public class LoopContextHolder extends Object
| 构造器和说明 |
|---|
LoopContextHolder() |
| 限定符和类型 | 方法和说明 |
|---|---|
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 © 2022 Seata. All rights reserved.