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) voidHandlerAdapter.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 connectionMethods in com.google.code.yanf4j.nio.impl with parameters of type SessionModifier and TypeMethodDescriptionfinal 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
Subinterfaces with type arguments of type Session in net.rubyeye.xmemcachedMethods 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.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 with type parameters of type SessionModifier and TypeFieldDescriptionprotected final ConcurrentHashMap<InetSocketAddress, Queue<Session>> MemcachedConnector.sessionMapMethods in net.rubyeye.xmemcached.impl that return SessionModifier and TypeMethodDescriptionfinal SessionMemcachedConnector.findSessionByKey(String key) 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 InetSocketAddressMemcachedConnector.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 TypeMethodDescriptionvoidMemcachedConnector.addSession(Session session) intintvoidMemcachedHandler.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 startedvoidMemcachedConnector.removeSession(Session session) Method parameters in net.rubyeye.xmemcached.impl with type arguments of type SessionModifier and TypeMethodDescriptionfinal 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) Constructor 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