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 © 2019. All rights reserved.