java.lang.Object
org.miaixz.bus.http.plugin.httpz.HttpzState
HTTP状态
- Since:
- Java 17+
- Author:
- Kimi Liu
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected static LinkedBlockingDeque<String> protected static Dateprotected static AtomicIntegerprotected static AtomicIntegerprotected static AtomicIntegerprotected static Date -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic LinkedBlockingDeque<String> static Datestatic intstatic intstatic intstatic Dateprotected static voidonReqFailure(String url, Exception e) protected static voidstatic voidstopStat()
-
Field Details
-
reqTotalCount
-
reqFailureCount
-
reqExceptionCount
-
startTime
-
lastAccessTime
-
errorMsgs
-
-
Constructor Details
-
HttpzState
public HttpzState()
-
-
Method Details
-
stopStat
public static void stopStat() -
getReqTotalCount
public static int getReqTotalCount() -
getReqFailureCount
public static int getReqFailureCount() -
getReqExceptionCount
public static int getReqExceptionCount() -
getStartTime
-
getLastAccessTime
-
getErrorMsgs
-
onReqFailure
-
onReqSuccess
protected static void onReqSuccess()
-