public class SpeedTestConst
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
static java.math.BigDecimal |
BIT_MULTIPLIER
bit multiplier value.
|
static java.math.RoundingMode |
DEFAULT_ROUNDING_MODE
default rounding mode for BigDecimal.
|
static int |
DEFAULT_SCALE
default scale for BigDecimal.
|
static int |
DEFAULT_SOCKET_TIMEOUT
default socket timeout in milliseconds.
|
static int |
DEFAULT_UPLOAD_SIZE
default size of each packet sent to upload server.
|
static java.lang.String |
FTP_DEFAULT_PASSWORD
default password for FTP download/upload.
|
static int |
FTP_DEFAULT_PORT
default port for FTP download/upload.
|
static java.lang.String |
FTP_DEFAULT_USER
default username for FTP download/upload.
|
static int |
HTTP_DEFAULT_PORT
default port for http download/upload.
|
static int |
HTTP_OK
http ok status code.
|
static java.math.BigDecimal |
MILLIS_DIVIDER
millisecond divider.
|
static java.lang.String |
PARSING_ERROR
parsing error message.
|
static java.math.BigDecimal |
PERCENT_MAX
max value for percent.
|
static int |
READ_BUFFER_SIZE
size of the write read buffer for downloading.
|
static java.lang.String |
SOCKET_WRITE_ERROR
writing socket error message.
|
static int |
THREAD_POOL_REPORT_SIZE
maximum size for report thread pool.
|
static int |
THREADPOOL_WAIT_COMPLETION_MS
time to wait for task to complete when threadpool is shutdown
|
| Constructor and Description |
|---|
SpeedTestConst() |
public static final int THREAD_POOL_REPORT_SIZE
public static final int READ_BUFFER_SIZE
public static final int DEFAULT_UPLOAD_SIZE
public static final int DEFAULT_SOCKET_TIMEOUT
public static final int THREADPOOL_WAIT_COMPLETION_MS
public static final int HTTP_OK
public static final java.math.BigDecimal PERCENT_MAX
public static final java.math.BigDecimal MILLIS_DIVIDER
public static final java.math.BigDecimal BIT_MULTIPLIER
public static final java.lang.String PARSING_ERROR
public static final java.lang.String SOCKET_WRITE_ERROR
public static final int DEFAULT_SCALE
public static final java.math.RoundingMode DEFAULT_ROUNDING_MODE
public static final int HTTP_DEFAULT_PORT
public static final int FTP_DEFAULT_PORT
public static final java.lang.String FTP_DEFAULT_USER
public static final java.lang.String FTP_DEFAULT_PASSWORD