| Modifier and Type | Method and Description |
|---|---|
BlockException |
Entry.getBlockError() |
| Modifier and Type | Method and Description |
|---|---|
Entry |
Entry.setBlockError(BlockException blockError) |
| Modifier and Type | Method and Description |
|---|---|
static AsyncEntry |
SphU.asyncEntry(String name)
Record statistics and check all rules of the resource that indicates an async invocation.
|
static AsyncEntry |
SphU.asyncEntry(String name,
EntryType trafficType)
Record statistics and check all rules of the resource that indicates an async invocation.
|
AsyncEntry |
Sph.asyncEntry(String name,
EntryType trafficType,
int batchCount,
Object... args)
Create a protected asynchronous resource.
|
static AsyncEntry |
SphU.asyncEntry(String name,
EntryType trafficType,
int batchCount,
Object... args)
Record statistics and check all rules of the resource that indicates an async invocation.
|
AsyncEntry |
CtSph.asyncEntry(String name,
EntryType type,
int count,
Object... args) |
static AsyncEntry |
SphU.asyncEntry(String name,
int resourceType,
EntryType trafficType)
Record statistics and perform rule checking for the given resource that indicates an async invocation.
|
static AsyncEntry |
SphU.asyncEntry(String name,
int resourceType,
EntryType trafficType,
int batchCount,
Object[] args)
Record statistics and perform rule checking for the given resource that indicates an async invocation.
|
static AsyncEntry |
SphU.asyncEntry(String name,
int resourceType,
EntryType trafficType,
Object[] args)
Record statistics and perform rule checking for the given resource that indicates an async invocation.
|
AsyncEntry |
SphResourceTypeSupport.asyncEntryWithType(String name,
int resourceType,
EntryType trafficType,
int batchCount,
boolean prioritized,
Object[] args)
Record statistics and perform rule checking for the given resource that indicates an async invocation.
|
AsyncEntry |
CtSph.asyncEntryWithType(String name,
int resourceType,
EntryType entryType,
int count,
boolean prioritized,
Object[] args) |
Entry |
Sph.entry(Method method)
Record statistics and perform rule checking for the given method.
|
static Entry |
SphU.entry(Method method)
Checking all
Rules about the protected method. |
Entry |
CtSph.entry(Method method) |
Entry |
Sph.entry(Method method,
EntryType trafficType)
Record statistics and perform rule checking for the given method.
|
static Entry |
SphU.entry(Method method,
EntryType trafficType)
Checking all
Rules about the protected method. |
Entry |
CtSph.entry(Method method,
EntryType type) |
Entry |
Sph.entry(Method method,
EntryType trafficType,
int batchCount)
Record statistics and perform rule checking for the given method.
|
static Entry |
SphU.entry(Method method,
EntryType trafficType,
int batchCount)
Checking all
Rules about the protected method. |
Entry |
CtSph.entry(Method method,
EntryType type,
int count) |
Entry |
Sph.entry(Method method,
EntryType trafficType,
int batchCount,
Object... args)
Record statistics and perform rule checking for the given resource.
|
static Entry |
SphU.entry(Method method,
EntryType trafficType,
int batchCount,
Object... args)
Checking all
Rules about the protected method. |
Entry |
CtSph.entry(Method method,
EntryType type,
int count,
Object... args) |
Entry |
Sph.entry(Method method,
int batchCount)
Record statistics and perform rule checking for the given method.
|
static Entry |
SphU.entry(Method method,
int batchCount)
Checking all
Rules about the protected method. |
Entry |
CtSph.entry(Method method,
int count) |
Entry |
CtSph.entry(ResourceWrapper resourceWrapper,
int count,
Object... args)
Do all
Rules checking about the resource. |
Entry |
Sph.entry(String name)
Record statistics and perform rule checking for the given resource.
|
static Entry |
SphU.entry(String name)
Record statistics and perform rule checking for the given resource.
|
Entry |
CtSph.entry(String name) |
Entry |
Sph.entry(String name,
EntryType trafficType)
Record statistics and perform rule checking for the given resource.
|
static Entry |
SphU.entry(String name,
EntryType trafficType)
Record statistics and perform rule checking for the given resource.
|
Entry |
CtSph.entry(String name,
EntryType type) |
Entry |
Sph.entry(String name,
EntryType trafficType,
int batchCount)
Record statistics and perform rule checking for the given resource.
|
static Entry |
SphU.entry(String name,
EntryType trafficType,
int batchCount)
Record statistics and perform rule checking for the given resource.
|
Entry |
CtSph.entry(String name,
EntryType type,
int count) |
Entry |
Sph.entry(String name,
EntryType trafficType,
int batchCount,
Object... args)
Record statistics and perform rule checking for the given resource.
|
static Entry |
SphU.entry(String name,
EntryType trafficType,
int batchCount,
Object... args)
Record statistics and perform rule checking for the given resource.
|
Entry |
CtSph.entry(String name,
EntryType type,
int count,
Object... args) |
Entry |
Sph.entry(String name,
int batchCount)
Record statistics and perform rule checking for the given resource.
|
static Entry |
SphU.entry(String name,
int batchCount)
Record statistics and perform rule checking for the given resource.
|
Entry |
CtSph.entry(String name,
int count) |
static Entry |
SphU.entry(String name,
int resourceType,
EntryType trafficType)
Record statistics and perform rule checking for the given resource.
|
static Entry |
SphU.entry(String name,
int resourceType,
EntryType trafficType,
Object[] args)
Record statistics and perform rule checking for the given resource.
|
static Entry |
SphU.entryWithPriority(String name)
Record statistics and perform rule checking for the given resource.
|
static Entry |
SphU.entryWithPriority(String name,
EntryType trafficType)
Record statistics and perform rule checking for the given resource.
|
Entry |
Sph.entryWithPriority(String name,
EntryType trafficType,
int batchCount,
boolean prioritized)
Create a protected resource with priority.
|
Entry |
CtSph.entryWithPriority(String name,
EntryType type,
int count,
boolean prioritized) |
Entry |
Sph.entryWithPriority(String name,
EntryType trafficType,
int batchCount,
boolean prioritized,
Object... args)
Create a protected resource with priority.
|
Entry |
CtSph.entryWithPriority(String name,
EntryType type,
int count,
boolean prioritized,
Object... args) |
Entry |
SphResourceTypeSupport.entryWithType(String name,
int resourceType,
EntryType trafficType,
int batchCount,
boolean prioritized,
Object[] args)
Record statistics and perform rule checking for the given resource with the provided classification.
|
Entry |
CtSph.entryWithType(String name,
int resourceType,
EntryType entryType,
int count,
boolean prioritized,
Object[] args) |
Entry |
SphResourceTypeSupport.entryWithType(String name,
int resourceType,
EntryType trafficType,
int batchCount,
Object[] args)
Record statistics and perform rule checking for the given resource with provided classification.
|
Entry |
CtSph.entryWithType(String name,
int resourceType,
EntryType entryType,
int count,
Object[] args) |
| Modifier and Type | Method and Description |
|---|---|
void |
MetricExtension.addBlock(String resource,
int n,
String origin,
BlockException blockException,
Object... args)
Add current block count of the resource name.
|
void |
AdvancedMetricExtension.onBlocked(ResourceWrapper rw,
int batchCount,
String origin,
BlockException e,
Object[] args)
Add current block count of the resource name.
|
| Modifier and Type | Method and Description |
|---|---|
void |
MetricEntryCallback.onBlocked(BlockException ex,
Context context,
ResourceWrapper resourceWrapper,
DefaultNode param,
int count,
Object... args) |
| Modifier and Type | Method and Description |
|---|---|
void |
ProcessorSlotEntryCallback.onBlocked(BlockException ex,
Context context,
ResourceWrapper resourceWrapper,
T param,
int count,
Object... args) |
| Modifier and Type | Class and Description |
|---|---|
class |
AuthorityException
Block exception for request origin access (authority) control.
|
| Modifier and Type | Class and Description |
|---|---|
class |
DegradeException |
| Modifier and Type | Class and Description |
|---|---|
class |
FlowException |
| Modifier and Type | Method and Description |
|---|---|
void |
FlowRuleChecker.checkFlow(Function<String,Collection<FlowRule>> ruleProvider,
ResourceWrapper resource,
Context context,
DefaultNode node,
int count,
boolean prioritized) |
| Modifier and Type | Class and Description |
|---|---|
class |
SystemBlockException |
| Modifier and Type | Method and Description |
|---|---|
static void |
SystemRuleManager.checkSystem(ResourceWrapper resourceWrapper,
int count)
Apply
SystemRule to the resource. |
Copyright © 2021 Alibaba Group. All rights reserved.