Package org.apache.iotdb.session
Class Config
- java.lang.Object
-
- org.apache.iotdb.session.Config
-
public class Config extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description static intCPU_CORESstatic booleanDEFAULT_CACHE_LEADER_MODEstatic intDEFAULT_CONNECTION_TIMEOUT_MSstatic intDEFAULT_FETCH_SIZEstatic intDEFAULT_INITIAL_BUFFER_CAPACITYthrift init buffer size, 1KB by defaultstatic intDEFAULT_MAX_FRAME_SIZEthrift max frame size (16384000 bytes by default), we change it to 64MBstatic java.lang.StringDEFAULT_PASSWORDstatic intDEFAULT_SESSION_EXECUTOR_TASK_NUMstatic intDEFAULT_SESSION_EXECUTOR_THREAD_NUMstatic java.lang.StringDEFAULT_USERstatic longRETRY_INTERVAL_MSstatic intRETRY_NUM
-
Constructor Summary
Constructors Constructor Description Config()
-
-
-
Field Detail
-
DEFAULT_USER
public static final java.lang.String DEFAULT_USER
- See Also:
- Constant Field Values
-
DEFAULT_PASSWORD
public static final java.lang.String DEFAULT_PASSWORD
- See Also:
- Constant Field Values
-
DEFAULT_FETCH_SIZE
public static final int DEFAULT_FETCH_SIZE
- See Also:
- Constant Field Values
-
DEFAULT_CONNECTION_TIMEOUT_MS
public static final int DEFAULT_CONNECTION_TIMEOUT_MS
- See Also:
- Constant Field Values
-
DEFAULT_CACHE_LEADER_MODE
public static final boolean DEFAULT_CACHE_LEADER_MODE
- See Also:
- Constant Field Values
-
CPU_CORES
public static final int CPU_CORES
-
DEFAULT_SESSION_EXECUTOR_THREAD_NUM
public static final int DEFAULT_SESSION_EXECUTOR_THREAD_NUM
-
DEFAULT_SESSION_EXECUTOR_TASK_NUM
public static final int DEFAULT_SESSION_EXECUTOR_TASK_NUM
- See Also:
- Constant Field Values
-
RETRY_NUM
public static final int RETRY_NUM
- See Also:
- Constant Field Values
-
RETRY_INTERVAL_MS
public static final long RETRY_INTERVAL_MS
- See Also:
- Constant Field Values
-
DEFAULT_INITIAL_BUFFER_CAPACITY
public static final int DEFAULT_INITIAL_BUFFER_CAPACITY
thrift init buffer size, 1KB by default- See Also:
- Constant Field Values
-
DEFAULT_MAX_FRAME_SIZE
public static final int DEFAULT_MAX_FRAME_SIZE
thrift max frame size (16384000 bytes by default), we change it to 64MB- See Also:
- Constant Field Values
-
-