| 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 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) |
| Modifier and Type | Field and Description |
|---|---|
protected EntryType |
ResourceWrapper.type |
| Modifier and Type | Method and Description |
|---|---|
EntryType |
StringResourceWrapper.getType() |
abstract EntryType |
ResourceWrapper.getType()
Get
EntryType of this wrapper. |
EntryType |
MethodResourceWrapper.getType() |
| Constructor and Description |
|---|
MethodResourceWrapper(Method method,
EntryType type) |
StringResourceWrapper(String name,
EntryType type) |
| Modifier and Type | Method and Description |
|---|---|
static ClusterNode |
ClusterBuilderSlot.getClusterNode(String id,
EntryType type)
Get
ClusterNode of the resource of the specific type. |
Copyright © 2018 Alibaba Group. All rights reserved.