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 TypeMethodDescriptionvoid
Handler.onExceptionCaught
(Session session, Throwable throwable) void
Handler.onMessageReceived
(Session session, Object msg) void
Handler.onMessageSent
(Session session, Object msg) void
Handler.onSessionClosed
(Session session) void
Handler.onSessionConnected
(Session session) void
Handler.onSessionCreated
(Session session) void
Handler.onSessionExpired
(Session session) void
Handler.onSessionIdle
(Session session) void
Handler.onSessionStarted
(Session session) void
SessionManager.registerSession
(Session session) Register session to controllervoid
SessionManager.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 TypeMethodDescriptionvoid
HandlerAdapter.onExceptionCaught
(Session session, Throwable throwable) private void
void
HandlerAdapter.onMessageReceived
(Session session, Object message) void
HandlerAdapter.onMessageSent
(Session session, Object message) void
HandlerAdapter.onSessionClosed
(Session session) void
HandlerAdapter.onSessionConnected
(Session session) void
HandlerAdapter.onSessionCreated
(Session session) void
HandlerAdapter.onSessionExpired
(Session session) void
HandlerAdapter.onSessionIdle
(Session session) void
HandlerAdapter.onSessionStarted
(Session session) final void
AbstractController.registerSession
(Session session) final void
AbstractController.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 TypeClassDescriptionclass
Abstract nio sessionclass
Nio 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 Session
Reactor.getSessionFromAttchment
(SelectionKey key) Methods in com.google.code.yanf4j.nio.impl with parameters of type SessionModifier and TypeMethodDescriptionprivate final boolean
Reactor.checkExpired
(SelectionKey key, Session session) private long
Reactor.checkExpiredIdle
(SelectionKey key, Session session) private final void
private final void
Reactor.dispatchSessionEvent
(Session session, EventType event) (package private) Reactor
SelectorManager.getReactorFromSession
(Session session) final void
Reactor.registerSession
(Session session, EventType event) final void
SelectorManager.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 Session
XMemcachedClient.sendCommand
(Command cmd) Methods in net.rubyeye.xmemcached with parameters of type SessionModifier and TypeMethodDescriptionint
Returns a session by special key.private AtomicInteger
XMemcachedClient.getContinuousTimeoutCounter
(Session session) protected void
Method parameters in net.rubyeye.xmemcached with type arguments of type SessionModifier and TypeMethodDescriptionvoid
MemcachedSessionLocator.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 boolean
Command.decodeError
(Session session, ByteBuffer buffer) -
Uses of Session in net.rubyeye.xmemcached.impl
Classes in net.rubyeye.xmemcached.impl that implement SessionModifier and TypeClassDescriptionclass
Closed sessionclass
Connected session for a memcached serverFields in net.rubyeye.xmemcached.impl declared as SessionModifier and TypeFieldDescriptionprivate final Session
MemcachedHandler.CheckHeartResultThread.session
Fields in net.rubyeye.xmemcached.impl with type parameters of type SessionModifier and TypeFieldDescriptionKetamaMemcachedSessionLocator.ketamaSessions
LibmemcachedMemcachedSessionLocator.ketamaSessions
protected final ConcurrentHashMap
<InetSocketAddress, Queue<Session>> MemcachedConnector.sessionMap
ArrayMemcachedSessionLocator.sessions
ElectionMemcachedSessionLocator.sessions
PHPMemcacheSessionLocator.sessions
RandomMemcachedSessionLocaltor.sessions
RoundRobinMemcachedSessionLocator.sessions
private final ConcurrentHashMap
<InetSocketAddress, List<Session>> MemcachedConnector.standbySessionMap
Methods in net.rubyeye.xmemcached.impl that return SessionModifier and TypeMethodDescriptionfinal Session
MemcachedConnector.findSessionByKey
(String key) private Session
ArrayMemcachedSessionLocator.getRandomSession
(List<Session> sessions) private Session
ElectionMemcachedSessionLocator.getSessionByElection
(String key, List<Session> copySessionList) final Session
KetamaMemcachedSessionLocator.getSessionByHash
(long hash) final Session
LibmemcachedMemcachedSessionLocator.getSessionByHash
(long hash) final Session
ArrayMemcachedSessionLocator.getSessionByKey
(String key) ElectionMemcachedSessionLocator.getSessionByKey
(String key) final Session
KetamaMemcachedSessionLocator.getSessionByKey
(String key) final Session
LibmemcachedMemcachedSessionLocator.getSessionByKey
(String key) final Session
PHPMemcacheSessionLocator.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 void
MemcachedConnector.addMainSession
(Session session, InetSocketAddress lastReolvedAddr, InetSocketAddressWrapper addrWrapper) void
MemcachedConnector.addSession
(Session session) private void
MemcachedConnector.addStandbySession
(Session session, InetSocketAddress mainNodeAddress, InetSocketAddress lastResolvedMainAddr, InetSocketAddressWrapper addrWrapper) private void
MemcachedHandler.checkHeartBeat
(Session session) int
int
private String
KetamaMemcachedSessionLocator.getSockStr
(Session session) void
MemcachedHandler.onExceptionCaught
(Session session, Throwable throwable) final void
MemcachedHandler.onMessageReceived
(Session session, Object msg) On receive message from memcached serverfinal void
MemcachedHandler.onMessageSent
(Session session, Object msg) put command which have been sent to queuefinal void
MemcachedHandler.onSessionClosed
(Session session) Check if have to reconnect on session closedvoid
MemcachedHandler.onSessionIdle
(Session session) Do a heartbeat actionvoid
MemcachedHandler.onSessionStarted
(Session session) On session startedprivate void
MemcachedConnector.removeMainSession
(Session session) void
MemcachedConnector.removeSession
(Session session) private void
MemcachedConnector.removeStandbySession
(Session session, InetSocketAddress mainNodeAddr) Method parameters in net.rubyeye.xmemcached.impl with type arguments of type SessionModifier and TypeMethodDescriptionprivate final void
KetamaMemcachedSessionLocator.buildMap
(Collection<Session> list, HashAlgorithm alg) private final void
LibmemcachedMemcachedSessionLocator.buildMap
(Collection<Session> list, HashAlgorithm alg) private Session
ArrayMemcachedSessionLocator.getRandomSession
(List<Session> sessions) private Session
ElectionMemcachedSessionLocator.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 void
ArrayMemcachedSessionLocator.updateSessions
(Collection<Session> list) void
ElectionMemcachedSessionLocator.updateSessions
(Collection<Session> list) final void
KetamaMemcachedSessionLocator.updateSessions
(Collection<Session> list) final void
LibmemcachedMemcachedSessionLocator.updateSessions
(Collection<Session> list) final void
PHPMemcacheSessionLocator.updateSessions
(Collection<Session> list) void
RandomMemcachedSessionLocaltor.updateSessions
(Collection<Session> list) final void
RoundRobinMemcachedSessionLocator.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 TypeInterfaceDescriptioninterface
interface
Abstract 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