类的使用
com.alibaba.csp.sentinel.AsyncEntry
使用AsyncEntry的程序包
-
com.alibaba.csp.sentinel中AsyncEntry的使用
修饰符和类型方法说明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) Record statistics and check all rules of the resource that indicates an async invocation.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.