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.SockIOMemCachedClient.NIOLoader.Connection. sockFields 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. availPoolprivate java.util.Map<java.lang.String,java.util.Map<SockIOPool.SockIO,java.lang.Long>>SockIOPool. busyPoolprivate java.util.Map<SockIOPool.SockIO,java.lang.Integer>SockIOPool. deadPoolMethods in com.danga.MemCached that return SockIOPool.SockIO Modifier and Type Method Description protected SockIOPool.SockIOSockIOPool. createSocket(java.lang.String host)Creates a new SockIO obj for the given server.SockIOPool.SockIOSockIOPool. getConnection(java.lang.String host)Returns a SockIO object from the pool for the passed in host.SockIOPool.SockIOSockIOPool. getSock(java.lang.String key)Returns appropriate SockIO object given string cache key.SockIOPool.SockIOSockIOPool. 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 voidSockIOPool. 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 voidSockIOPool. checkIn(SockIOPool.SockIO socket)Returns a socket to the avail pool.private voidSockIOPool. checkIn(SockIOPool.SockIO socket, boolean addToAvail)Checks a SockIO object in with the pool.protected voidSockIOPool. 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 voidSockIOPool. 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 voidSockIOPool. 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 voidSockIOPool. 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 voidSockIOPool. 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)
-