| Package | Description |
|---|---|
| com.alibaba.csp.sentinel | |
| com.alibaba.csp.sentinel.slotchain | |
| com.alibaba.csp.sentinel.slots.clusterbuilder |
| Modifier and Type | Method and Description |
|---|---|
static EntryType |
EntryType.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static EntryType[] |
EntryType.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
| Modifier and Type | Method and Description |
|---|---|
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,
EntryType type)
Checking all
Rules about the protected method. |
static boolean |
SphO.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. |
static boolean |
SphO.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. |
static boolean |
SphO.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(String name,
EntryType type)
Checking all
Rules about the resource. |
static boolean |
SphO.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. |
static boolean |
SphO.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. |
static boolean |
SphO.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 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,
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 | Field and Description |
|---|---|
protected EntryType |
ResourceWrapper.entryType |
| Modifier and Type | Method and Description |
|---|---|
EntryType |
ResourceWrapper.getEntryType()
Get
EntryType of this wrapper. |
| Constructor and Description |
|---|
MethodResourceWrapper(Method method,
EntryType e) |
MethodResourceWrapper(Method method,
EntryType e,
int resType) |
ResourceWrapper(String name,
EntryType entryType,
int resourceType) |
StringResourceWrapper(String name,
EntryType e) |
StringResourceWrapper(String name,
EntryType e,
int resType) |
| Modifier and Type | Method and Description |
|---|---|
static ClusterNode |
ClusterBuilderSlot.getClusterNode(String id,
EntryType type)
Get
ClusterNode of the resource of the specific type. |
Copyright © 2019 Alibaba Group. All rights reserved.