Uses of Class
com.danga.MemCached.SockIOPool.SockIO
-
Packages that use SockIOPool.SockIO Package Description com.danga.MemCached -
-
Uses of SockIOPool.SockIO in com.danga.MemCached
Fields in com.danga.MemCached declared as SockIOPool.SockIO Modifier and Type Field Description SockIOPool.SockIO
MemCachedClient.NIOLoader.Connection. sock
Fields in com.danga.MemCached with type parameters of type SockIOPool.SockIO Modifier and Type Field Description private java.util.Map<java.lang.String,java.util.Map<SockIOPool.SockIO,java.lang.Long>>
SockIOPool. availPool
private java.util.Map<java.lang.String,java.util.Map<SockIOPool.SockIO,java.lang.Long>>
SockIOPool. busyPool
private java.util.Map<SockIOPool.SockIO,java.lang.Integer>
SockIOPool. deadPool
Methods in com.danga.MemCached that return SockIOPool.SockIO Modifier and Type Method Description protected SockIOPool.SockIO
SockIOPool. createSocket(java.lang.String host)
Creates a new SockIO obj for the given server.SockIOPool.SockIO
SockIOPool. getConnection(java.lang.String host)
Returns a SockIO object from the pool for the passed in host.SockIOPool.SockIO
SockIOPool. getSock(java.lang.String key)
Returns appropriate SockIO object given string cache key.SockIOPool.SockIO
SockIOPool. getSock(java.lang.String key, java.lang.Integer hashCode)
Returns appropriate SockIO object given string cache key and optional hashcode.Methods in com.danga.MemCached with parameters of type SockIOPool.SockIO Modifier and Type Method Description protected void
SockIOPool. addSocketToPool(java.util.Map<java.lang.String,java.util.Map<SockIOPool.SockIO,java.lang.Long>> pool, java.lang.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(java.util.Map<java.lang.String,java.util.Map<SockIOPool.SockIO,java.lang.Long>> pool, java.lang.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.SockIO Modifier and Type Method Description protected void
SockIOPool. addSocketToPool(java.util.Map<java.lang.String,java.util.Map<SockIOPool.SockIO,java.lang.Long>> pool, java.lang.String host, SockIOPool.SockIO socket)
Adds a socket to a given pool for the given host.protected void
SockIOPool. clearHostFromPool(java.util.Map<java.lang.String,java.util.Map<SockIOPool.SockIO,java.lang.Long>> pool, java.lang.String host)
Closes and removes all sockets from specified pool for host.protected void
SockIOPool. closePool(java.util.Map<java.lang.String,java.util.Map<SockIOPool.SockIO,java.lang.Long>> pool)
Closes all sockets in the passed in pool.protected void
SockIOPool. removeSocketFromPool(java.util.Map<java.lang.String,java.util.Map<SockIOPool.SockIO,java.lang.Long>> pool, java.lang.String host, SockIOPool.SockIO socket)
Removes a socket from specified pool for host.Constructors in com.danga.MemCached with parameters of type SockIOPool.SockIO Constructor Description Connection(SockIOPool.SockIO sock, java.lang.StringBuilder request)
-