public class HttpxStat extends Object
| Modifier and Type | Field and Description |
|---|---|
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 |
| Constructor and Description |
|---|
HttpxStat() |
| Modifier and Type | Method and Description |
|---|---|
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.