public class XNioConnectionPoolDynamic extends Object implements XNioConnectionPool
Constructor and Description |
---|
XNioConnectionPoolDynamic(InetSocketAddress address) |
XNioConnectionPoolDynamic(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 XNioConnectionPoolDynamic(InetSocketAddress address)
public XNioConnectionPoolDynamic(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.