public class FastHttpClientStat extends Object
| 限定符和类型 | 字段和说明 |
|---|---|
protected static LinkedBlockingDeque<String> |
errorMsgs |
protected static Date |
lastAccessTime |
protected static AtomicInteger |
reqExceptionCount |
protected static AtomicInteger |
reqFailureCount |
protected static AtomicInteger |
reqTotalCount |
protected static Date |
startTime |
| 构造器和说明 |
|---|
FastHttpClientStat() |
| 限定符和类型 | 方法和说明 |
|---|---|
static LinkedBlockingDeque<String> |
getErrorMsgs() |
static Date |
getLastAccessTime() |
static int |
getReqExceptionCount() |
static int |
getReqFailureCount() |
static int |
getReqTotalCount() |
static Date |
getStartTime() |
protected static void |
onReqFailure(String url,
Exception e) |
protected static void |
onReqSuccess() |
static void |
stopStat() |
protected static AtomicInteger reqTotalCount
protected static AtomicInteger reqFailureCount
protected static AtomicInteger reqExceptionCount
protected static Date startTime
protected static Date lastAccessTime
protected static LinkedBlockingDeque<String> errorMsgs
public static void stopStat()
public static int getReqTotalCount()
public static int getReqFailureCount()
public static int getReqExceptionCount()
public static Date getStartTime()
public static Date getLastAccessTime()
public static LinkedBlockingDeque<String> getErrorMsgs()
protected static void onReqSuccess()
Copyright © 2022. All rights reserved.