public class XNioConnectionPoolThreadLocal extends Object implements XNioConnectionPool
| Constructor and Description |
|---|
XNioConnectionPoolThreadLocal(InetSocketAddress address) |
XNioConnectionPoolThreadLocal(InetSocketAddress address,
int connectionTimeout) |
| Modifier and Type | Method and Description |
|---|---|
XNioChannel |
acquire() |
void |
close() |
void |
release(XNioChannel channel) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcreateChannelpublic XNioConnectionPoolThreadLocal(InetSocketAddress address)
public XNioConnectionPoolThreadLocal(InetSocketAddress address, int connectionTimeout)
public XNioChannel acquire() throws IOException
acquire in interface XNioConnectionPoolIOExceptionpublic void release(XNioChannel channel)
release in interface XNioConnectionPoolpublic void close()
throws IOException
close in interface Closeableclose in interface AutoCloseableIOExceptionCopyright © GigaSpaces.