类的使用
com.alibaba.csp.sentinel.Entry
使用Entry的程序包
-
com.alibaba.csp.sentinel中Entry的使用
声明为Entry的com.alibaba.csp.sentinel中的字段类型参数类型为Entry的com.alibaba.csp.sentinel中的字段修饰符和类型方法说明CtSph.entry(ResourceWrapper resourceWrapper, int count, Object... args) Do allRules checking about the resource.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 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.Record statistics and perform rule checking for the given resource.Record 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 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.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) Record statistics and perform rule checking for the given resource.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.Entry.setBlockError(BlockException blockError) Entry.setCompleteTimestamp(long completeTimestamp) protected Entryprotected abstract EntryExit this entry.参数类型为Entry的com.alibaba.csp.sentinel中的方法修饰符和类型方法说明static voidTracer.traceEntry(Throwable e, Entry entry) Trace providedThrowableto the given resource entry.类型变量类型为Entry的com.alibaba.csp.sentinel中的方法参数修饰符和类型方法说明abstract voidEntry.whenTerminate(BiConsumer<Context, Entry> handler) LikeCompletableFuturesince JDK 8, it guarantees specified handler is invoked when this entry terminated (exited), no matter it's blocked or permitted. -
com.alibaba.csp.sentinel.context中Entry的使用
参数类型为Entry的com.alibaba.csp.sentinel.context中的方法