public interface Connector extends Controller
addStateListener, getCodecFactory, getDispatchMessageThreadCount, getHandler, getLocalSocketAddress, getPort, getReadThreadCount, getReceiveThroughputLimit, getSendThroughputLimit, getSessionIdleTimeout, getSessionTimeout, getSoTimeout, getStatistics, getWriteThreadCount, isHandleReadWriteConcurrently, isStarted, removeStateListener, setCodecFactory, setDispatchMessageThreadCount, setHandler, setHandleReadWriteConcurrently, setLocalSocketAddress, setReadThreadCount, setReceiveThroughputLimit, setSendThroughputLimit, setSessionIdleTimeout, setSessionTimeout, setSocketOption, setSoTimeout, setWriteThreadCount, start, stopvoid setOptimizeMergeBuffer(boolean optimiezeMergeBuffer)
void setMergeFactor(int factor)
void setOptimizeGet(boolean optimizeGet)
void removeSession(Session session)
Queue<Session> getSessionByAddress(InetSocketAddress address)
List<Session> getStandbySessionListByMainNodeAddr(InetSocketAddress address)
void setHealSessionInterval(long interval)
long getHealSessionInterval()
Session send(Command packet) throws MemcachedException
void setConnectionPoolSize(int connectionPoolSize)
void setBufferAllocator(BufferAllocator bufferAllocator)
void removeReconnectRequest(InetSocketAddress address)
void setEnableHealSession(boolean enableHealSession)
void addToWatingQueue(ReconnectRequest request)
void setSocketOptions(Map<SocketOption,Object> options)
Future<Boolean> connect(InetSocketAddressWrapper addressWrapper) throws IOException
IOExceptionvoid updateSessions()
void setSessionLocator(MemcachedSessionLocator sessionLocator)
void quitAllSessions()
Queue<ReconnectRequest> getReconnectRequestQueue()
void setFailureMode(boolean failureMode)
FlowControl getNoReplyOpsFlowControl()
Copyright © 2013. All Rights Reserved.