public class XNioConnectionPoolFixed extends Object implements XNioConnectionPool
Constructor and Description |
---|
XNioConnectionPoolFixed(InetSocketAddress address) |
XNioConnectionPoolFixed(InetSocketAddress address,
int capacity,
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 XNioConnectionPoolFixed(InetSocketAddress address)
public XNioConnectionPoolFixed(InetSocketAddress address, int capacity, int connectionTimeout)
public XNioChannel acquire() throws IOException
acquire
in interface XNioConnectionPool
IOException
public void release(XNioChannel channel)
release
in interface XNioConnectionPool
public void close()
close
in interface Closeable
close
in interface AutoCloseable
Copyright © GigaSpaces.