| Package | Description |
|---|---|
| com.alibaba.csp.sentinel | |
| com.alibaba.csp.sentinel.node | |
| com.alibaba.csp.sentinel.slots.block.flow | |
| com.alibaba.csp.sentinel.slots.statistic.metric |
| Modifier and Type | Field and Description |
|---|---|
protected static Predicate<Throwable> |
Tracer.exceptionPredicate |
| Modifier and Type | Method and Description |
|---|---|
static Predicate<? extends Throwable> |
Tracer.getExceptionPredicate()
Get exception predicate
|
| Modifier and Type | Method and Description |
|---|---|
static void |
Tracer.setExceptionPredicate(Predicate<Throwable> exceptionPredicate)
set an exception predicate which indicates the exception should be traced(return true) or ignored(return false)
except for
BlockException |
| Modifier and Type | Method and Description |
|---|---|
List<MetricNode> |
StatisticNode.rawMetricsInMin(Predicate<Long> timePredicate) |
List<MetricNode> |
Node.rawMetricsInMin(Predicate<Long> timePredicate)
Fetch all raw metric items that satisfies the time predicate.
|
| Modifier and Type | Method and Description |
|---|---|
static <K> Map<K,List<FlowRule>> |
FlowRuleUtil.buildFlowRuleMap(List<FlowRule> list,
Function<FlowRule,K> groupFunction,
Predicate<FlowRule> filter,
boolean shouldSort)
Build the flow rule map from raw list of flow rules, grouping by provided group function.
|
static Map<String,List<FlowRule>> |
FlowRuleUtil.buildFlowRuleMap(List<FlowRule> list,
Predicate<FlowRule> filter)
Build the flow rule map from raw list of flow rules, grouping by resource name.
|
static Map<String,List<FlowRule>> |
FlowRuleUtil.buildFlowRuleMap(List<FlowRule> list,
Predicate<FlowRule> filter,
boolean shouldSort)
Build the flow rule map from raw list of flow rules, grouping by resource name.
|
| Modifier and Type | Method and Description |
|---|---|
List<MetricNode> |
ArrayMetric.detailsOnCondition(Predicate<Long> timePredicate) |
List<MetricNode> |
Metric.detailsOnCondition(Predicate<Long> timePredicate)
Generate aggregated metric items that satisfies the time predicate.
|
Copyright © 2021 Alibaba Group. All rights reserved.