public final class CurrentConcurrencyManager extends Object
| Constructor and Description |
|---|
CurrentConcurrencyManager() |
| Modifier and Type | Method and Description |
|---|---|
static void |
addConcurrency(Long flowId,
Integer acquireCount)
add current concurrency.
|
static boolean |
containsFlowId(Long flowId)
check flow id.
|
static AtomicInteger |
get(Long flowId)
get the current concurrency.
|
static Set<Long> |
getConcurrencyMapKeySet()
get NOW_CALLS_MAP.
|
static void |
put(Long flowId,
Integer nowCalls)
put the current concurrency.
|
static void |
remove(Long flowId)
delete the current concurrency.
|
public static void addConcurrency(Long flowId, Integer acquireCount)
public static AtomicInteger get(Long flowId)
public static void remove(Long flowId)
public static boolean containsFlowId(Long flowId)
Copyright © 2021 Alibaba Group. All rights reserved.