public class Configuration extends Object
Modifier and Type | Field and Description |
---|---|
static int |
DEFAULT_INCREASE_BUFF_SIZE
Increasing buffer size per time
|
static int |
MAX_READ_BUFFER_SIZE
Max read buffer size for connection
|
protected long |
statisticsInterval |
static String |
XMEMCACHED_SELECTOR_POOL_SIZE |
Constructor and Description |
---|
Configuration() |
Modifier and Type | Method and Description |
---|---|
long |
getCheckSessionTimeoutInterval() |
int |
getDispatchMessageThreadCount() |
int |
getReadThreadCount() |
int |
getSelectorPoolSize() |
long |
getSessionIdleTimeout() |
int |
getSessionReadBufferSize() |
int |
getSoTimeout() |
long |
getStatisticsInterval() |
int |
getWriteThreadCount() |
boolean |
isHandleReadWriteConcurrently() |
boolean |
isStatisticsServer() |
void |
setCheckSessionTimeoutInterval(long checkSessionTimeoutInterval) |
void |
setDispatchMessageThreadCount(int dispatchMessageThreadCount) |
void |
setHandleReadWriteConcurrently(boolean handleReadWriteConcurrently) |
void |
setReadThreadCount(int readThreadCount) |
void |
setSelectorPoolSize(int selectorPoolSize) |
void |
setSessionIdleTimeout(long sessionIdleTimeout) |
void |
setSessionReadBufferSize(int tcpHandlerReadBufferSize) |
void |
setSoTimeout(int soTimeout) |
void |
setStatisticsInterval(long statisticsInterval) |
void |
setStatisticsServer(boolean statisticsServer) |
void |
setWriteThreadCount(int writeThreadCount) |
public static final String XMEMCACHED_SELECTOR_POOL_SIZE
public static final int DEFAULT_INCREASE_BUFF_SIZE
public static final int MAX_READ_BUFFER_SIZE
protected long statisticsInterval
public final int getWriteThreadCount()
public final int getDispatchMessageThreadCount()
public final void setDispatchMessageThreadCount(int dispatchMessageThreadCount)
public final void setWriteThreadCount(int writeThreadCount)
public final long getSessionIdleTimeout()
setSessionIdleTimeout
public final void setSessionIdleTimeout(long sessionIdleTimeout)
public final int getSessionReadBufferSize()
setSessionReadBufferSize
public final boolean isHandleReadWriteConcurrently()
public final int getSoTimeout()
public final long getStatisticsInterval()
public final void setStatisticsInterval(long statisticsInterval)
public final void setSoTimeout(int soTimeout)
public final void setHandleReadWriteConcurrently(boolean handleReadWriteConcurrently)
public final void setSessionReadBufferSize(int tcpHandlerReadBufferSize)
public final boolean isStatisticsServer()
public final void setStatisticsServer(boolean statisticsServer)
public final int getReadThreadCount()
setReadThreadCount
public final void setReadThreadCount(int readThreadCount)
public void setCheckSessionTimeoutInterval(long checkSessionTimeoutInterval)
public long getCheckSessionTimeoutInterval()
public void setSelectorPoolSize(int selectorPoolSize)
public int getSelectorPoolSize()
Copyright © 2021. All rights reserved.