Uses of Class
com.danga.MemCached.SockIOPool.SockIO
Packages that use SockIOPool.SockIO
-
Uses of SockIOPool.SockIO in com.danga.MemCached
Fields in com.danga.MemCached declared as SockIOPool.SockIOFields in com.danga.MemCached with type parameters of type SockIOPool.SockIOModifier and TypeFieldDescriptionprivate Map<String,
Map<SockIOPool.SockIO, Long>> SockIOPool.availPool
private Map<String,
Map<SockIOPool.SockIO, Long>> SockIOPool.busyPool
private Map<SockIOPool.SockIO,
Integer> SockIOPool.deadPool
Methods in com.danga.MemCached that return SockIOPool.SockIOModifier and TypeMethodDescriptionprotected SockIOPool.SockIO
SockIOPool.createSocket
(String host) Creates a new SockIO obj for the given server.SockIOPool.getConnection
(String host) Returns a SockIO object from the pool for the passed in host.Returns appropriate SockIO object given string cache key.Returns appropriate SockIO object given string cache key and optional hashcode.Methods in com.danga.MemCached with parameters of type SockIOPool.SockIOModifier and TypeMethodDescriptionprotected void
SockIOPool.addSocketToPool
(Map<String, Map<SockIOPool.SockIO, Long>> pool, String host, SockIOPool.SockIO socket) Adds a socket to a given pool for the given host.private void
SockIOPool.checkIn
(SockIOPool.SockIO socket) Returns a socket to the avail pool.private void
SockIOPool.checkIn
(SockIOPool.SockIO socket, boolean addToAvail) Checks a SockIO object in with the pool.protected void
SockIOPool.removeSocketFromPool
(Map<String, Map<SockIOPool.SockIO, Long>> pool, String host, SockIOPool.SockIO socket) Removes a socket from specified pool for host.Method parameters in com.danga.MemCached with type arguments of type SockIOPool.SockIOModifier and TypeMethodDescriptionprotected void
SockIOPool.addSocketToPool
(Map<String, Map<SockIOPool.SockIO, Long>> pool, String host, SockIOPool.SockIO socket) Adds a socket to a given pool for the given host.protected void
SockIOPool.clearHostFromPool
(Map<String, Map<SockIOPool.SockIO, Long>> pool, String host) Closes and removes all sockets from specified pool for host.protected void
Closes all sockets in the passed in pool.protected void
SockIOPool.removeSocketFromPool
(Map<String, Map<SockIOPool.SockIO, Long>> pool, String host, SockIOPool.SockIO socket) Removes a socket from specified pool for host.Constructors in com.danga.MemCached with parameters of type SockIOPool.SockIO