public class Global extends Object
Constructor and Description |
---|
Global() |
Modifier and Type | Method and Description |
---|---|
static HashWheelTimer |
getHashWheelTimer()
获取一个全局的秒定时器
60个槽位, 每个槽位步长1s
|
static ThreadPoolExecutor |
getThreadPool()
返回公用线程池
|
static String |
getVersion()
获取当前 Voovan 版本号
|
public static final String STR_EQUAL
public static final String STR_QUOTE
public static final String STR_SPACE
public static final String STR_SLASH
public static final String STR_BACKSLASH
public static final String STR_QUESTION
public static final String STR_CR
public static final String STR_LF
public static final String STR_COLON
public static final String STR_S_QUOTE
public static final String STR_POINT
public static final String STR_LC_BRACES
public static final String STR_RC_BRACES
public static final String STR_LS_BRACES
public static final String STR_RS_BRACES
public static final String STR_COMMA
public static final String STR_STAR
public static final String STR_SHAPE
public static final String STR_AT
public static final String STR_EOF
public static final char CHAR_EQUAL
public static final char CHAR_QUOTE
public static final char CHAR_SPACE
public static final char CHAR_SLASH
public static final char CHAR_BACKSLASH
public static final char CHAR_QUESTION
public static final char CHAR_CR
public static final char CHAR_LF
public static final char CHAR_COLON
public static final char CHAR_S_QUOTE
public static final char CHAR_LC_BRACES
public static final char CHAR_RC_BRACES
public static final char CHAR_LS_BRACES
public static final char CHAR_RS_BRACES
public static final char CHAR_COMMA
public static final char CHAR_POINT
public static final char CHAR_STAR
public static final char CHAR_SHAPE
public static final char CHAR_AT
public static final char CHAR_EOF
public static final char CHAR_SUB
public static final byte BYTE_EQUAL
public static final byte BYTE_SLASH
public static final byte BYTE_BACKSLASH
public static final byte BYTE_SPACE
public static final byte BYTE_QUESTION
public static final byte BYTE_CR
public static final byte BYTE_LF
public static final byte BYTE_COLON
public static final byte BYTE_QUOTE
public static final byte BYTE_S_QUOTE
public static final byte BYTE_POINT
public static final byte BYTE_LC_BRACES
public static final byte BYTE_RC_BRACES
public static final byte BYTE_LS_BRACES
public static final byte BYTE_RS_BRACES
public static final byte BYTE_STAR
public static final byte BYTE_SHAPE
public static final byte BYTE_AT
public static final byte BYTE_EOF
public static final byte BYTE_SUB
public static final String EMPTY_STRING
public static final Charset CS_ASCII
public static final Charset CS_UTF_8
public static final String FRAMEWORK_NAME
public static final Boolean IS_DEBUG_MODE
public static final Boolean ENABLE_SANDBOX
public static UniqueId UNIQUE_ID
public static ThreadPoolExecutor getThreadPool()
public static HashWheelTimer getHashWheelTimer()
public static String getVersion()
Copyright © 2020 Voovan. All rights reserved.