Enum Class的使用
com.alibaba.csp.sentinel.EntryType
使用EntryType的程序包
程序包
说明
-
com.alibaba.csp.sentinel中EntryType的使用
修饰符和类型方法说明static EntryTypeReturns the enum constant of this class with the specified name.static EntryType[]EntryType.values()Returns an array containing the constants of this enum class, in the order they are declared.参数类型为EntryType的com.alibaba.csp.sentinel中的方法修饰符和类型方法说明CtSph.asyncEntry(String name, EntryType type, int count, Object... args) Sph.asyncEntry(String name, EntryType trafficType, int batchCount, Object... args) Create a protected asynchronous resource.static AsyncEntrySphU.asyncEntry(String name, int resourceType, EntryType trafficType) Record statistics and perform rule checking for the given resource that indicates an async invocation.static AsyncEntrySphU.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 AsyncEntrySphU.asyncEntry(String name, int resourceType, EntryType trafficType, Object[] args) Record statistics and perform rule checking for the given resource that indicates an async invocation.static AsyncEntrySphU.asyncEntry(String name, EntryType trafficType) Record statistics and check all rules of the resource that indicates an async invocation.static AsyncEntrySphU.asyncEntry(String name, EntryType trafficType, int batchCount, Object... args) Record statistics and check all rules of the resource that indicates an async invocation.CtSph.asyncEntryWithType(String name, int resourceType, EntryType entryType, int count, boolean prioritized, Object[] args) 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.Record statistics and perform rule checking for the given method.Record statistics and perform rule checking for the given method.Record statistics and perform rule checking for the given resource.Record statistics and perform rule checking for the given resource.Record statistics and perform rule checking for the given resource.Record statistics and perform rule checking for the given resource.static booleanChecking allRules about the protected method.static booleanChecking allRules about the protected method.static booleanRecord statistics and perform rule checking for the given method resource.static booleanRecord statistics and perform rule checking for the given resource.static booleanRecord statistics and perform rule checking for the given resource.static booleanRecord statistics and perform rule checking for the given resource.static EntryChecking allRules about the protected method.static EntryChecking allRules about the protected method.static EntryChecking allRules about the protected method.static EntryRecord statistics and perform rule checking for the given resource.static EntryRecord statistics and perform rule checking for the given resource.static EntryRecord statistics and perform rule checking for the given resource.static EntryRecord statistics and perform rule checking for the given resource.static EntryRecord statistics and perform rule checking for the given resource.CtSph.entryWithPriority(String name, EntryType type, int count, boolean prioritized) CtSph.entryWithPriority(String name, EntryType type, int count, boolean prioritized, Object... args) Sph.entryWithPriority(String name, EntryType trafficType, int batchCount, boolean prioritized) Create a protected resource with priority.Sph.entryWithPriority(String name, EntryType trafficType, int batchCount, boolean prioritized, Object... args) Create a protected resource with priority.static EntrySphU.entryWithPriority(String name, EntryType trafficType) Record statistics and perform rule checking for the given resource.CtSph.entryWithType(String name, int resourceType, EntryType entryType, int count, boolean prioritized, Object[] args) CtSph.entryWithType(String name, int resourceType, EntryType entryType, int count, Object[] args) 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.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. -
com.alibaba.csp.sentinel.slotchain中EntryType的使用
参数类型为EntryType的com.alibaba.csp.sentinel.slotchain中的构造器限定符构造器说明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) -
com.alibaba.csp.sentinel.slots.clusterbuilder中EntryType的使用
修饰符和类型方法说明static ClusterNodeClusterBuilderSlot.getClusterNode(String id, EntryType type) GetClusterNodeof the resource of the specific type.