public class StBandwidthMeter
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static int |
DEFAULT_CONNECT_TIMEOUT_COUNT
|
static int |
DEFAULT_HTTP_TIMEOUT
|
static int |
DEFAULT_MAXIMUM_TIMEOUT
|
static int |
DEFAULT_SOCKET_TIMEOUT
|
static int |
DEFAULT_THREAD_BUFFER
|
static int |
DEFAULT_THREAD_COUNT
|
static int |
EVA_LEAP
|
Constructor and Description |
---|
StBandwidthMeter() |
Modifier and Type | Method and Description |
---|---|
static void |
CONFIG(int threadCount,
int threadBuffer)
|
static void |
SET_CONNECT_TIMEOUT(int count,
int httpTimeout,
int socketTimeout)
|
static void |
SET_EVALUATION_LEAP(int length)
|
static void |
SET_TIMEOUT(int stopTimeout)
|
static void |
START(IHandlerLikeNotify notify,
java.lang.String url)
|
static void |
STOP(IHandlerLikeNotify notify)
|
public static final int DEFAULT_THREAD_COUNT
public static final int DEFAULT_THREAD_BUFFER
public static final int DEFAULT_CONNECT_TIMEOUT_COUNT
public static final int DEFAULT_MAXIMUM_TIMEOUT
public static final int DEFAULT_HTTP_TIMEOUT
public static final int DEFAULT_SOCKET_TIMEOUT
public static int EVA_LEAP
public static void CONFIG(int threadCount, int threadBuffer)
threadCount
- threadBuffer
- public static void SET_TIMEOUT(int stopTimeout)
stopTimeout
- public static void SET_CONNECT_TIMEOUT(int count, int httpTimeout, int socketTimeout)
count
- httpTimeout
- socketTimeout
- public static void SET_EVALUATION_LEAP(int length)
length
- public static void START(IHandlerLikeNotify notify, java.lang.String url)
notify
- url
- public static void STOP(IHandlerLikeNotify notify)
notify
-