Uses of Interface
com.google.code.yanf4j.core.Session
-
Packages that use Session Package Description com.google.code.yanf4j.core Networking core packagecom.google.code.yanf4j.core.impl com.google.code.yanf4j.nio Nio implementationcom.google.code.yanf4j.nio.impl net.rubyeye.xmemcached XMemcached's main classes and interfaces,use these classes/interfaces to interact with memcached servers.net.rubyeye.xmemcached.codec Memcached protocol codecnet.rubyeye.xmemcached.command Memcached protocol implementationsnet.rubyeye.xmemcached.impl Manage tcp connection,memcached protocol optimized,and some MBeans for monitor.net.rubyeye.xmemcached.networking Networking layout to talk with memcached. -
-
Uses of Session in com.google.code.yanf4j.core
Methods in com.google.code.yanf4j.core with parameters of type Session Modifier and Type Method Description java.lang.ObjectCodecFactory.Decoder. decode(IoBuffer buff, Session session)IoBufferCodecFactory.Encoder. encode(java.lang.Object message, Session session)voidHandler. onExceptionCaught(Session session, java.lang.Throwable throwable)voidHandler. onMessageReceived(Session session, java.lang.Object msg)voidHandler. onMessageSent(Session session, java.lang.Object msg)voidHandler. onSessionClosed(Session session)voidHandler. onSessionConnected(Session session)voidHandler. onSessionCreated(Session session)voidHandler. onSessionExpired(Session session)voidHandler. onSessionIdle(Session session)voidHandler. onSessionStarted(Session session)voidSessionManager. registerSession(Session session)Register session to controllervoidSessionManager. unregisterSession(Session session)Unregister session -
Uses of Session in com.google.code.yanf4j.core.impl
Classes in com.google.code.yanf4j.core.impl that implement Session Modifier and Type Class Description classAbstractSessionBase connectionFields in com.google.code.yanf4j.core.impl with type parameters of type Session Modifier and Type Field Description protected java.util.Set<Session>AbstractController. sessionSetConnected session setMethods in com.google.code.yanf4j.core.impl that return types with arguments of type Session Modifier and Type Method Description java.util.Set<Session>AbstractController. getSessionSet()Methods in com.google.code.yanf4j.core.impl with parameters of type Session Modifier and Type Method Description java.lang.ObjectByteBufferCodecFactory.ByteBufferDecoder. decode(IoBuffer buff, Session session)java.lang.ObjectTextLineCodecFactory.StringDecoder. decode(IoBuffer buffer, Session session)IoBufferByteBufferCodecFactory.ByteBufferEncoder. encode(java.lang.Object message, Session session)IoBufferTextLineCodecFactory.StringEncoder. encode(java.lang.Object msg, Session session)voidHandlerAdapter. onExceptionCaught(Session session, java.lang.Throwable throwable)private voidAbstractSession. onMessage(java.lang.Object message, Session session)voidHandlerAdapter. onMessageReceived(Session session, java.lang.Object message)voidHandlerAdapter. onMessageSent(Session session, java.lang.Object message)voidHandlerAdapter. onSessionClosed(Session session)voidHandlerAdapter. onSessionConnected(Session session)voidHandlerAdapter. onSessionCreated(Session session)voidHandlerAdapter. onSessionExpired(Session session)voidHandlerAdapter. onSessionIdle(Session session)voidHandlerAdapter. onSessionStarted(Session session)voidAbstractController. registerSession(Session session)voidAbstractController. unregisterSession(Session session) -
Uses of Session in com.google.code.yanf4j.nio
Subinterfaces of Session in com.google.code.yanf4j.nio Modifier and Type Interface Description interfaceNioSessionNio connection -
Uses of Session in com.google.code.yanf4j.nio.impl
Classes in com.google.code.yanf4j.nio.impl that implement Session Modifier and Type Class Description classAbstractNioSessionAbstract nio sessionclassNioTCPSessionNio tcp connectionFields in com.google.code.yanf4j.nio.impl declared as Session Modifier and Type Field Description (package private) SessionReactor.RegisterEvent. sessionMethods in com.google.code.yanf4j.nio.impl that return Session Modifier and Type Method Description private SessionReactor. getSessionFromAttchment(java.nio.channels.SelectionKey key)Methods in com.google.code.yanf4j.nio.impl with parameters of type Session Modifier and Type Method Description private booleanReactor. checkExpired(java.nio.channels.SelectionKey key, Session session)private longReactor. checkExpiredIdle(java.nio.channels.SelectionKey key, Session session)private voidReactor. checkIdle(Session session)private voidReactor. dispatchSessionEvent(Session session, EventType event)(package private) ReactorSelectorManager. getReactorFromSession(Session session)voidReactor. registerSession(Session session, EventType event)voidSelectorManager. registerSession(Session session, EventType event)Register sessionConstructors in com.google.code.yanf4j.nio.impl with parameters of type Session Constructor Description RegisterEvent(Session session, EventType eventType) -
Uses of Session in net.rubyeye.xmemcached
Methods in net.rubyeye.xmemcached that return Session Modifier and Type Method Description SessionMemcachedSessionLocator. getSessionByKey(java.lang.String key)Returns a session by special key.protected SessionXMemcachedClient. sendCommand(Command cmd)Methods in net.rubyeye.xmemcached with parameters of type Session Modifier and Type Method Description intMemcachedSessionComparator. compare(Session o1, Session o2)Returns a session by special key.private java.util.concurrent.atomic.AtomicIntegerXMemcachedClient. getContinuousTimeoutCounter(Session session)protected voidXMemcachedClient. latchWait(Command cmd, long timeout, Session session)Method parameters in net.rubyeye.xmemcached with type arguments of type Session Modifier and Type Method Description voidMemcachedSessionLocator. updateSessions(java.util.Collection<Session> list)Update sessions when session was added or removed. -
Uses of Session in net.rubyeye.xmemcached.codec
Methods in net.rubyeye.xmemcached.codec with parameters of type Session Modifier and Type Method Description java.lang.ObjectMemcachedDecoder. decode(IoBuffer buffer, Session origSession)IoBufferMemcachedEncoder. encode(java.lang.Object message, Session session) -
Uses of Session in net.rubyeye.xmemcached.command
Methods in net.rubyeye.xmemcached.command with parameters of type Session Modifier and Type Method Description protected booleanCommand. decodeError(Session session, java.nio.ByteBuffer buffer) -
Uses of Session in net.rubyeye.xmemcached.impl
Classes in net.rubyeye.xmemcached.impl that implement Session Modifier and Type Class Description classClosedMemcachedTCPSessionClosed sessionclassMemcachedTCPSessionConnected session for a memcached serverFields in net.rubyeye.xmemcached.impl declared as Session Modifier and Type Field Description private SessionMemcachedHandler.CheckHeartResultThread. sessionFields in net.rubyeye.xmemcached.impl with type parameters of type Session Modifier and Type Field Description private java.util.TreeMap<java.lang.Long,java.util.List<Session>>KetamaMemcachedSessionLocator. ketamaSessionsprivate java.util.TreeMap<java.lang.Long,java.util.List<Session>>LibmemcachedMemcachedSessionLocator. ketamaSessionsprotected java.util.concurrent.ConcurrentHashMap<java.net.InetSocketAddress,java.util.Queue<Session>>MemcachedConnector. sessionMapprivate java.util.List<java.util.List<Session>>ArrayMemcachedSessionLocator. sessionsprivate java.util.List<Session>ElectionMemcachedSessionLocator. sessionsprivate java.util.List<Session>PHPMemcacheSessionLocator. sessionsprivate java.util.List<Session>RandomMemcachedSessionLocaltor. sessionsprivate java.util.List<Session>RoundRobinMemcachedSessionLocator. sessionsprivate java.util.concurrent.ConcurrentHashMap<java.net.InetSocketAddress,java.util.List<Session>>MemcachedConnector. standbySessionMapMethods in net.rubyeye.xmemcached.impl that return Session Modifier and Type Method Description SessionMemcachedConnector. findSessionByKey(java.lang.String key)private SessionArrayMemcachedSessionLocator. getRandomSession(java.util.List<Session> sessions)private SessionElectionMemcachedSessionLocator. getSessionByElection(java.lang.String key, java.util.List<Session> copySessionList)SessionKetamaMemcachedSessionLocator. getSessionByHash(long hash)SessionLibmemcachedMemcachedSessionLocator. getSessionByHash(long hash)SessionArrayMemcachedSessionLocator. getSessionByKey(java.lang.String key)SessionElectionMemcachedSessionLocator. getSessionByKey(java.lang.String key)SessionKetamaMemcachedSessionLocator. getSessionByKey(java.lang.String key)SessionLibmemcachedMemcachedSessionLocator. getSessionByKey(java.lang.String key)SessionPHPMemcacheSessionLocator. getSessionByKey(java.lang.String key)SessionRandomMemcachedSessionLocaltor. getSessionByKey(java.lang.String key)SessionRoundRobinMemcachedSessionLocator. getSessionByKey(java.lang.String key)SessionMemcachedConnector. send(Command msg)Methods in net.rubyeye.xmemcached.impl that return types with arguments of type Session Modifier and Type Method Description java.util.Queue<Session>MemcachedConnector. getSessionByAddress(java.net.InetSocketAddress addr)Get session by InetSocketAddressprivate java.util.List<Session>KetamaMemcachedSessionLocator. getSessionList(java.util.TreeMap<java.lang.Long,java.util.List<Session>> sessionMap, long k)private java.util.List<Session>LibmemcachedMemcachedSessionLocator. getSessionList(java.util.TreeMap<java.lang.Long,java.util.List<Session>> sessionMap, long k)java.util.List<Session>MemcachedConnector. getSessionListBySocketAddress(java.net.InetSocketAddress inetSocketAddress)java.util.Set<Session>MemcachedConnector. getSessionSet()java.util.List<Session>MemcachedConnector. getStandbySessionListByMainNodeAddr(java.net.InetSocketAddress addr)Returns main node's standby session list.Methods in net.rubyeye.xmemcached.impl with parameters of type Session Modifier and Type Method Description private voidMemcachedConnector. addMainSession(Session session, java.net.InetSocketAddress lastReolvedAddr, InetSocketAddressWrapper addrWrapper)voidMemcachedConnector. addSession(Session session)private voidMemcachedConnector. addStandbySession(Session session, java.net.InetSocketAddress mainNodeAddress, java.net.InetSocketAddress lastResolvedMainAddr, InetSocketAddressWrapper addrWrapper)private voidMemcachedHandler. checkHeartBeat(Session session)intAddressMemcachedSessionComparator. compare(Session o1, Session o2)intIndexMemcachedSessionComparator. compare(Session o1, Session o2)private java.lang.StringKetamaMemcachedSessionLocator. getSockStr(Session session)voidMemcachedHandler. onExceptionCaught(Session session, java.lang.Throwable throwable)voidMemcachedHandler. onMessageReceived(Session session, java.lang.Object msg)On receive message from memcached servervoidMemcachedHandler. onMessageSent(Session session, java.lang.Object msg)put command which have been sent to queuevoidMemcachedHandler. onSessionClosed(Session session)Check if have to reconnect on session closedvoidMemcachedHandler. onSessionIdle(Session session)Do a heartbeat actionvoidMemcachedHandler. onSessionStarted(Session session)On session startedprivate voidMemcachedConnector. removeMainSession(Session session)voidMemcachedConnector. removeSession(Session session)private voidMemcachedConnector. removeStandbySession(Session session, java.net.InetSocketAddress mainNodeAddr)Method parameters in net.rubyeye.xmemcached.impl with type arguments of type Session Modifier and Type Method Description private voidKetamaMemcachedSessionLocator. buildMap(java.util.Collection<Session> list, HashAlgorithm alg)private voidLibmemcachedMemcachedSessionLocator. buildMap(java.util.Collection<Session> list, HashAlgorithm alg)private SessionArrayMemcachedSessionLocator. getRandomSession(java.util.List<Session> sessions)private SessionElectionMemcachedSessionLocator. getSessionByElection(java.lang.String key, java.util.List<Session> copySessionList)private java.util.List<Session>KetamaMemcachedSessionLocator. getSessionList(java.util.TreeMap<java.lang.Long,java.util.List<Session>> sessionMap, long k)private java.util.List<Session>LibmemcachedMemcachedSessionLocator. getSessionList(java.util.TreeMap<java.lang.Long,java.util.List<Session>> sessionMap, long k)voidArrayMemcachedSessionLocator. updateSessions(java.util.Collection<Session> list)voidElectionMemcachedSessionLocator. updateSessions(java.util.Collection<Session> list)voidKetamaMemcachedSessionLocator. updateSessions(java.util.Collection<Session> list)voidLibmemcachedMemcachedSessionLocator. updateSessions(java.util.Collection<Session> list)voidPHPMemcacheSessionLocator. updateSessions(java.util.Collection<Session> list)voidRandomMemcachedSessionLocaltor. updateSessions(java.util.Collection<Session> list)voidRoundRobinMemcachedSessionLocator. updateSessions(java.util.Collection<Session> list)Constructors in net.rubyeye.xmemcached.impl with parameters of type Session Constructor Description CheckHeartResultThread(Command versionCommand, Session session)Constructor parameters in net.rubyeye.xmemcached.impl with type arguments of type Session Constructor Description KetamaMemcachedSessionLocator(java.util.List<Session> list, HashAlgorithm alg) -
Uses of Session in net.rubyeye.xmemcached.networking
Subinterfaces of Session in net.rubyeye.xmemcached.networking Modifier and Type Interface Description interfaceClosedMemcachedSessioninterfaceMemcachedSessionAbstract interface for memcached connection.Methods in net.rubyeye.xmemcached.networking that return Session Modifier and Type Method Description SessionConnector. send(Command packet)Methods in net.rubyeye.xmemcached.networking that return types with arguments of type Session Modifier and Type Method Description java.util.Queue<Session>Connector. getSessionByAddress(java.net.InetSocketAddress address)java.util.Set<Session>Connector. getSessionSet()java.util.List<Session>Connector. getStandbySessionListByMainNodeAddr(java.net.InetSocketAddress address)Methods in net.rubyeye.xmemcached.networking with parameters of type Session Modifier and Type Method Description voidConnector. removeSession(Session session)
-