com.sun.xml.ws.transport.tcp.connectioncache.spi.transport
Interface ConnectionFinder<C extends Connection>
- All Known Implementing Classes:
- WSConnectionManager
public interface ConnectionFinder<C extends Connection>
An instance of a ConnectionFinder may be supplied to the
OutboundConnectionCache.get method.
find
C find(ContactInfo<C> cinfo,
Collection<C> idleConnections,
Collection<C> busyConnections)
throws IOException
- Method that searches idleConnections and busyConnections for
the best connection. May return null if no best connections
exists. May create a new connection and return it.
- Throws:
IOException
Copyright © 2005-2015 Oracle Corporation. All Rights Reserved.