public class SocketAllocator extends Object implements stormpot.Allocator<SocketPoolable>
| Constructor and Description |
|---|
SocketAllocator(InetSocketAddress server,
int socketTimeoutMillis,
Charset charset) |
public SocketAllocator(InetSocketAddress server, int socketTimeoutMillis, Charset charset)
public SocketPoolable allocate(stormpot.Slot slot) throws Exception
allocate in interface stormpot.Allocator<SocketPoolable>Exceptionpublic void deallocate(SocketPoolable poolable) throws Exception
deallocate in interface stormpot.Allocator<SocketPoolable>ExceptionCopyright © 2010-2015 JmxTrans team. All Rights Reserved.