public class FlowControlExceptionUtils extends Object
| Modifier and Type | Method and Description |
|---|---|
static void |
handleException(Throwable throwable,
io.sermant.flowcontrol.common.entity.FlowControlResult result)
handle flow control exceptions
|
static boolean |
isNeedReleasePermit(Throwable throwable)
Determine whether there is a flow control exception
|
public static void handleException(Throwable throwable, io.sermant.flowcontrol.common.entity.FlowControlResult result)
throwable - exception messageresult - pre-return resultpublic static boolean isNeedReleasePermit(Throwable throwable)
throwable - exception typeCopyright © 2025. All rights reserved.