| Modifier and Type | Method and Description |
|---|---|
static AsyncEntry |
SphU.asyncEntry(String name)
Checking all rules about the asynchronous resource.
|
static AsyncEntry |
SphU.asyncEntry(String name,
EntryType type)
Checking all
Rules about the asynchronous resource. |
static AsyncEntry |
SphU.asyncEntry(String name,
EntryType type,
int count,
Object... args)
Checking all
Rules about the asynchronous resource. |
AsyncEntry |
Sph.asyncEntry(String name,
EntryType type,
int count,
Object... args)
Create a protected asynchronous resource.
|
AsyncEntry |
CtSph.asyncEntry(String name,
EntryType type,
int count,
Object... args) |
static AsyncEntry |
SphU.asyncEntry(String name,
int resourceType,
EntryType type,
int acquireCount,
Object[] args)
Record statistics and check all rules of the resource.
|
static AsyncEntry |
SphU.asyncEntry(String name,
int resourceType,
EntryType type,
Object[] args)
Record statistics and check all rules of the resource.
|
AsyncEntry |
SphResourceTypeSupport.asyncEntryWithType(String name,
int resourceType,
EntryType entryType,
int count,
boolean prioritized,
Object[] args)
Create an asynchronous resource with provided classification.
|
AsyncEntry |
CtSph.asyncEntryWithType(String name,
int resourceType,
EntryType entryType,
int count,
boolean prioritized,
Object[] args) |
static Entry |
SphU.entry(Method method)
Checking all
Rules about the protected method. |
Entry |
Sph.entry(Method method)
Create a protected method.
|
Entry |
CtSph.entry(Method method) |
static Entry |
SphU.entry(Method method,
EntryType type)
Checking all
Rules about the protected method. |
Entry |
Sph.entry(Method method,
EntryType type)
Create a protected method.
|
Entry |
CtSph.entry(Method method,
EntryType type) |
static Entry |
SphU.entry(Method method,
EntryType type,
int count)
Checking all
Rules about the protected method. |
Entry |
Sph.entry(Method method,
EntryType type,
int count)
Create a protected method.
|
Entry |
CtSph.entry(Method method,
EntryType type,
int count) |
static Entry |
SphU.entry(Method method,
EntryType type,
int count,
Object... args)
Checking all
Rules about the protected method. |
Entry |
Sph.entry(Method method,
EntryType type,
int count,
Object... args)
Create a protected resource.
|
Entry |
CtSph.entry(Method method,
EntryType type,
int count,
Object... args) |
static Entry |
SphU.entry(Method method,
int count)
Checking all
Rules about the protected method. |
Entry |
Sph.entry(Method method,
int count)
Create a 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. |
static Entry |
SphU.entry(String name)
Checking all
Rules about the resource. |
Entry |
Sph.entry(String name)
Create a protected resource.
|
Entry |
CtSph.entry(String name) |
static Entry |
SphU.entry(String name,
EntryType type)
Checking all
Rules about the resource. |
Entry |
Sph.entry(String name,
EntryType type)
Create a protected resource.
|
Entry |
CtSph.entry(String name,
EntryType type) |
static Entry |
SphU.entry(String name,
EntryType type,
int count)
Checking all
Rules about the resource. |
Entry |
Sph.entry(String name,
EntryType type,
int count)
Create a protected resource.
|
Entry |
CtSph.entry(String name,
EntryType type,
int count) |
static Entry |
SphU.entry(String name,
EntryType type,
int count,
Object... args)
Checking all
Rules about the resource. |
Entry |
Sph.entry(String name,
EntryType type,
int count,
Object... args)
Create a protected resource.
|
Entry |
CtSph.entry(String name,
EntryType type,
int count,
Object... args) |
static Entry |
SphU.entry(String name,
int count)
Checking all
Rules about the resource. |
Entry |
Sph.entry(String name,
int count)
Create a protected resource.
|
Entry |
CtSph.entry(String name,
int count) |
static Entry |
SphU.entry(String name,
int resourceType,
EntryType type)
Record statistics and check all rules of the resource.
|
static Entry |
SphU.entry(String name,
int resourceType,
EntryType type,
Object[] args)
Record statistics and check all rules of the resource.
|
static Entry |
SphU.entryWithPriority(String name)
Checking all
Rules related the resource. |
static Entry |
SphU.entryWithPriority(String name,
EntryType type)
Checking all
Rules related the resource. |
Entry |
Sph.entryWithPriority(String name,
EntryType type,
int count,
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 type,
int count,
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 entryType,
int count,
boolean prioritized,
Object[] args)
Create a protected resource with 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 entryType,
int count,
Object[] args)
Create a protected 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.
|
| 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 | Method and Description |
|---|---|
static void |
DegradeRuleManager.checkDegrade(ResourceWrapper resource,
Context context,
DefaultNode node,
int count) |
| 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)
Apply
SystemRule to the resource. |
Copyright © 2019 Alibaba Group. All rights reserved.