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, wait
createChannel
public XNioConnectionPoolThreadLocal(InetSocketAddress address)
public XNioConnectionPoolThreadLocal(InetSocketAddress address, int connectionTimeout)
public XNioChannel acquire() throws IOException
acquire
in interface XNioConnectionPool
IOException
public void release(XNioChannel channel)
release
in interface XNioConnectionPool
public void close() throws IOException
close
in interface Closeable
close
in interface AutoCloseable
IOException
Copyright © GigaSpaces.