类 RequestMonitorHelper
- java.lang.Object
-
- tech.codingless.core.gateway.helper.RequestMonitorHelper
-
public class RequestMonitorHelper extends Object
-
-
嵌套类概要
嵌套类 修饰符和类型 类 说明 static classRequestMonitorHelper.RequestAnalysisstatic classRequestMonitorHelper.RequestLog
-
构造器概要
构造器 构造器 说明 RequestMonitorHelper()
-
方法概要
所有方法 静态方法 具体方法 修饰符和类型 方法 说明 static ConcurrentHashMap<MyMemoryAnalysisFlag,Long>activeReqs()static voidappend(String companyId, String userId, String userName, String reqId, String uri, String url, long cost, String urlParam, String reqBody, String response, Exception e)static voidappend(MyMemoryAnalysisFlag myMemoryAnalysisFlag)static voidclear()static voidclear(MyMemoryAnalysisFlag myMemoryAnalysisFlag)static RequestMonitorHelper.RequestLogfindByRequestId(String requestId)static ConcurrentHashMap<String,RequestMonitorHelper.RequestAnalysis>getAllLog()static List<RequestMonitorHelper.RequestAnalysis>getLog(String subUri)
-
-
-
方法详细资料
-
getAllLog
public static ConcurrentHashMap<String,RequestMonitorHelper.RequestAnalysis> getAllLog()
-
getLog
public static List<RequestMonitorHelper.RequestAnalysis> getLog(String subUri)
-
clear
public static void clear()
-
findByRequestId
public static RequestMonitorHelper.RequestLog findByRequestId(String requestId)
-
append
public static void append(String companyId, String userId, String userName, String reqId, String uri, String url, long cost, String urlParam, String reqBody, String response, Exception e)
-
append
public static void append(MyMemoryAnalysisFlag myMemoryAnalysisFlag)
-
clear
public static void clear(MyMemoryAnalysisFlag myMemoryAnalysisFlag)
-
activeReqs
public static ConcurrentHashMap<MyMemoryAnalysisFlag,Long> activeReqs()
-
-