类 ResourceWrapper
java.lang.Object
com.alibaba.csp.sentinel.slotchain.ResourceWrapper
A wrapper of resource name and type.
- 作者:
- qinan.qn, jialiang.linjl, Eric Zhao
-
字段概要
字段 -
构造器概要
构造器 -
方法概要
-
字段详细资料
-
name
-
entryType
-
resourceType
protected final int resourceType
-
-
构造器详细资料
-
ResourceWrapper
-
-
方法详细资料
-
getName
Get the resource name.- 返回:
- the resource name
-
getEntryType
GetEntryTypeof this wrapper.- 返回:
EntryTypeof this wrapper.
-
getResourceType
public int getResourceType()Get the classification of this resource.- 返回:
- the classification of this resource
- 从以下版本开始:
- 1.7.0
-
getShowName
Get the beautified resource name to be showed.- 返回:
- the beautified resource name
-
hashCode
public int hashCode()OnlygetName()is considered. -
equals
OnlygetName()is considered.
-