Uses of Interface
com.google.code.yanf4j.core.Session
Packages that use Session
Package
Description
Networking core package
Nio implementation
XMemcached's main classes and interfaces,use these classes/interfaces to interact with memcached servers.
Memcached protocol codec
Memcached protocol implementations
Manage tcp connection,memcached protocol optimized,and some MBeans for monitor.
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 SessionModifier and TypeMethodDescriptionvoidHandler.onExceptionCaught(Session session, Throwable throwable) voidHandler.onMessageReceived(Session session, Object msg) voidHandler.onMessageSent(Session session, 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 SessionFields in com.google.code.yanf4j.core.impl with type parameters of type SessionMethods in com.google.code.yanf4j.core.impl that return types with arguments of type SessionMethods in com.google.code.yanf4j.core.impl with parameters of type SessionModifier and TypeMethodDescriptionvoidHandlerAdapter.onExceptionCaught(Session session, Throwable throwable) private voidvoidHandlerAdapter.onMessageReceived(Session session, Object message) voidHandlerAdapter.onMessageSent(Session session, 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) final voidAbstractController.registerSession(Session session) final voidAbstractController.unregisterSession(Session session) -
Uses of Session in com.google.code.yanf4j.nio
Subinterfaces of Session in com.google.code.yanf4j.nio -
Uses of Session in com.google.code.yanf4j.nio.impl
Classes in com.google.code.yanf4j.nio.impl that implement SessionModifier and TypeClassDescriptionclassAbstract nio sessionclassNio tcp connectionFields in com.google.code.yanf4j.nio.impl declared as SessionMethods in com.google.code.yanf4j.nio.impl that return SessionModifier and TypeMethodDescriptionprivate final SessionReactor.getSessionFromAttchment(SelectionKey key) Methods in com.google.code.yanf4j.nio.impl with parameters of type SessionModifier and TypeMethodDescriptionprivate final booleanReactor.checkExpired(SelectionKey key, Session session) private longReactor.checkExpiredIdle(SelectionKey key, Session session) private final voidprivate final voidReactor.dispatchSessionEvent(Session session, EventType event) (package private) ReactorSelectorManager.getReactorFromSession(Session session) final voidReactor.registerSession(Session session, EventType event) final voidSelectorManager.registerSession(Session session, EventType event) Register sessionConstructors in com.google.code.yanf4j.nio.impl with parameters of type Session -
Uses of Session in net.rubyeye.xmemcached
Methods in net.rubyeye.xmemcached that return SessionModifier and TypeMethodDescriptionMemcachedSessionLocator.getSessionByKey(String key) Returns a session by special key.protected final SessionXMemcachedClient.sendCommand(Command cmd) Methods in net.rubyeye.xmemcached with parameters of type SessionModifier and TypeMethodDescriptionintReturns a session by special key.private AtomicIntegerXMemcachedClient.getContinuousTimeoutCounter(Session session) protected voidMethod parameters in net.rubyeye.xmemcached with type arguments of type SessionModifier and TypeMethodDescriptionvoidMemcachedSessionLocator.updateSessions(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 -
Uses of Session in net.rubyeye.xmemcached.command
Methods in net.rubyeye.xmemcached.command with parameters of type SessionModifier and TypeMethodDescriptionprotected final booleanCommand.decodeError(Session session, ByteBuffer buffer) -
Uses of Session in net.rubyeye.xmemcached.impl
Classes in net.rubyeye.xmemcached.impl that implement SessionModifier and TypeClassDescriptionclassClosed sessionclassConnected session for a memcached serverFields in net.rubyeye.xmemcached.impl declared as SessionModifier and TypeFieldDescriptionprivate final SessionMemcachedHandler.CheckHeartResultThread.sessionFields in net.rubyeye.xmemcached.impl with type parameters of type SessionModifier and TypeFieldDescriptionKetamaMemcachedSessionLocator.ketamaSessionsLibmemcachedMemcachedSessionLocator.ketamaSessionsprotected final ConcurrentHashMap<InetSocketAddress, Queue<Session>> MemcachedConnector.sessionMapArrayMemcachedSessionLocator.sessionsElectionMemcachedSessionLocator.sessionsPHPMemcacheSessionLocator.sessionsRandomMemcachedSessionLocaltor.sessionsRoundRobinMemcachedSessionLocator.sessionsprivate final ConcurrentHashMap<InetSocketAddress, List<Session>> MemcachedConnector.standbySessionMapMethods in net.rubyeye.xmemcached.impl that return SessionModifier and TypeMethodDescriptionfinal SessionMemcachedConnector.findSessionByKey(String key) private SessionArrayMemcachedSessionLocator.getRandomSession(List<Session> sessions) private SessionElectionMemcachedSessionLocator.getSessionByElection(String key, List<Session> copySessionList) final SessionKetamaMemcachedSessionLocator.getSessionByHash(long hash) final SessionLibmemcachedMemcachedSessionLocator.getSessionByHash(long hash) final SessionArrayMemcachedSessionLocator.getSessionByKey(String key) ElectionMemcachedSessionLocator.getSessionByKey(String key) final SessionKetamaMemcachedSessionLocator.getSessionByKey(String key) final SessionLibmemcachedMemcachedSessionLocator.getSessionByKey(String key) final SessionPHPMemcacheSessionLocator.getSessionByKey(String key) RandomMemcachedSessionLocaltor.getSessionByKey(String key) RoundRobinMemcachedSessionLocator.getSessionByKey(String key) Methods in net.rubyeye.xmemcached.impl that return types with arguments of type SessionModifier and TypeMethodDescriptionMemcachedConnector.getSessionByAddress(InetSocketAddress addr) Get session by InetSocketAddressKetamaMemcachedSessionLocator.getSessionList(TreeMap<Long, List<Session>> sessionMap, long k) LibmemcachedMemcachedSessionLocator.getSessionList(TreeMap<Long, List<Session>> sessionMap, long k) MemcachedConnector.getSessionListBySocketAddress(InetSocketAddress inetSocketAddress) MemcachedConnector.getSessionSet()MemcachedConnector.getStandbySessionListByMainNodeAddr(InetSocketAddress addr) Returns main node's standby session list.Methods in net.rubyeye.xmemcached.impl with parameters of type SessionModifier and TypeMethodDescriptionprivate voidMemcachedConnector.addMainSession(Session session, InetSocketAddress lastReolvedAddr, InetSocketAddressWrapper addrWrapper) voidMemcachedConnector.addSession(Session session) private voidMemcachedConnector.addStandbySession(Session session, InetSocketAddress mainNodeAddress, InetSocketAddress lastResolvedMainAddr, InetSocketAddressWrapper addrWrapper) private voidMemcachedHandler.checkHeartBeat(Session session) intintprivate StringKetamaMemcachedSessionLocator.getSockStr(Session session) voidMemcachedHandler.onExceptionCaught(Session session, Throwable throwable) final voidMemcachedHandler.onMessageReceived(Session session, Object msg) On receive message from memcached serverfinal voidMemcachedHandler.onMessageSent(Session session, Object msg) put command which have been sent to queuefinal voidMemcachedHandler.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, InetSocketAddress mainNodeAddr) Method parameters in net.rubyeye.xmemcached.impl with type arguments of type SessionModifier and TypeMethodDescriptionprivate final voidKetamaMemcachedSessionLocator.buildMap(Collection<Session> list, HashAlgorithm alg) private final voidLibmemcachedMemcachedSessionLocator.buildMap(Collection<Session> list, HashAlgorithm alg) private SessionArrayMemcachedSessionLocator.getRandomSession(List<Session> sessions) private SessionElectionMemcachedSessionLocator.getSessionByElection(String key, List<Session> copySessionList) KetamaMemcachedSessionLocator.getSessionList(TreeMap<Long, List<Session>> sessionMap, long k) LibmemcachedMemcachedSessionLocator.getSessionList(TreeMap<Long, List<Session>> sessionMap, long k) final voidArrayMemcachedSessionLocator.updateSessions(Collection<Session> list) voidElectionMemcachedSessionLocator.updateSessions(Collection<Session> list) final voidKetamaMemcachedSessionLocator.updateSessions(Collection<Session> list) final voidLibmemcachedMemcachedSessionLocator.updateSessions(Collection<Session> list) final voidPHPMemcacheSessionLocator.updateSessions(Collection<Session> list) voidRandomMemcachedSessionLocaltor.updateSessions(Collection<Session> list) final voidRoundRobinMemcachedSessionLocator.updateSessions(Collection<Session> list) Constructors in net.rubyeye.xmemcached.impl with parameters of type SessionConstructor parameters in net.rubyeye.xmemcached.impl with type arguments of type SessionModifierConstructorDescriptionKetamaMemcachedSessionLocator(List<Session> list, HashAlgorithm alg) -
Uses of Session in net.rubyeye.xmemcached.networking
Subinterfaces of Session in net.rubyeye.xmemcached.networkingModifier and TypeInterfaceDescriptioninterfaceinterfaceAbstract interface for memcached connection.Methods in net.rubyeye.xmemcached.networking that return SessionMethods in net.rubyeye.xmemcached.networking that return types with arguments of type SessionModifier and TypeMethodDescriptionConnector.getSessionByAddress(InetSocketAddress address) Connector.getSessionSet()Connector.getStandbySessionListByMainNodeAddr(InetSocketAddress address) Methods in net.rubyeye.xmemcached.networking with parameters of type Session