| Modifier and Type | Field and Description |
|---|---|
static DefaultNode |
Constants.ROOT
Global ROOT statistic node that represents the universal parent node.
|
| Modifier and Type | Method and Description |
|---|---|
DefaultNode |
Context.getEntranceNode() |
| Modifier and Type | Method and Description |
|---|---|
static Context |
Context.newAsyncContext(DefaultNode entranceNode,
String name)
Create a new async context.
|
| Constructor and Description |
|---|
Context(DefaultNode entranceNode,
String name) |
Context(String name,
DefaultNode entranceNode,
boolean async) |
| Modifier and Type | Method and Description |
|---|---|
void |
MetricEntryCallback.onBlocked(BlockException ex,
Context context,
ResourceWrapper resourceWrapper,
DefaultNode param,
int count,
Object... args) |
void |
MetricEntryCallback.onPass(Context context,
ResourceWrapper resourceWrapper,
DefaultNode param,
int count,
Object... args) |
| Modifier and Type | Class and Description |
|---|---|
class |
EntranceNode
A
Node represents the entrance of the invocation tree. |
| Modifier and Type | Method and Description |
|---|---|
DefaultNode |
NodeBuilder.buildTreeNode(ResourceWrapper id,
ClusterNode clusterNode)
Deprecated.
Create a new
DefaultNode as tree node. |
| Modifier and Type | Method and Description |
|---|---|
boolean |
Rule.passCheck(Context context,
DefaultNode node,
int count,
Object... args)
Check whether current statistical indicators meet this rule, which means not exceeding any threshold.
|
| Modifier and Type | Method and Description |
|---|---|
void |
AuthoritySlot.entry(Context context,
ResourceWrapper resourceWrapper,
DefaultNode node,
int count,
boolean prioritized,
Object... args) |
boolean |
AuthorityRule.passCheck(Context context,
DefaultNode node,
int count,
Object... args) |
| Modifier and Type | Method and Description |
|---|---|
static void |
DegradeRuleManager.checkDegrade(ResourceWrapper resource,
Context context,
DefaultNode node,
int count) |
void |
DegradeSlot.entry(Context context,
ResourceWrapper resourceWrapper,
DefaultNode node,
int count,
boolean prioritized,
Object... args) |
boolean |
DegradeRule.passCheck(Context context,
DefaultNode node,
int acquireCount,
Object... args) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
FlowRuleChecker.canPassCheck(FlowRule rule,
Context context,
DefaultNode node,
int acquireCount) |
boolean |
FlowRuleChecker.canPassCheck(FlowRule rule,
Context context,
DefaultNode node,
int acquireCount,
boolean prioritized) |
void |
FlowRuleChecker.checkFlow(Function<String,Collection<FlowRule>> ruleProvider,
ResourceWrapper resource,
Context context,
DefaultNode node,
int count,
boolean prioritized) |
void |
FlowSlot.entry(Context context,
ResourceWrapper resourceWrapper,
DefaultNode node,
int count,
boolean prioritized,
Object... args) |
boolean |
FlowRule.passCheck(Context context,
DefaultNode node,
int acquireCount,
Object... args) |
| Modifier and Type | Method and Description |
|---|---|
void |
ClusterBuilderSlot.entry(Context context,
ResourceWrapper resourceWrapper,
DefaultNode node,
int count,
boolean prioritized,
Object... args) |
| Modifier and Type | Method and Description |
|---|---|
void |
LogSlot.entry(Context context,
ResourceWrapper resourceWrapper,
DefaultNode obj,
int count,
boolean prioritized,
Object... args) |
| Modifier and Type | Method and Description |
|---|---|
static Collection<ProcessorSlotEntryCallback<DefaultNode>> |
StatisticSlotCallbackRegistry.getEntryCallbacks() |
static ProcessorSlotEntryCallback<DefaultNode> |
StatisticSlotCallbackRegistry.removeEntryCallback(String key) |
| Modifier and Type | Method and Description |
|---|---|
void |
StatisticSlot.entry(Context context,
ResourceWrapper resourceWrapper,
DefaultNode node,
int count,
boolean prioritized,
Object... args) |
| Modifier and Type | Method and Description |
|---|---|
static void |
StatisticSlotCallbackRegistry.addEntryCallback(String key,
ProcessorSlotEntryCallback<DefaultNode> callback) |
| Modifier and Type | Method and Description |
|---|---|
void |
SystemSlot.entry(Context context,
ResourceWrapper resourceWrapper,
DefaultNode node,
int count,
boolean prioritized,
Object... args) |
boolean |
SystemRule.passCheck(Context context,
DefaultNode node,
int count,
Object... args) |
Copyright © 2019 Alibaba Group. All rights reserved.