Example usage for Java org.springframework.integration.ip.tcp.connection CachingClientConnectionFactory fields, constructors, methods, implement or subclass
The text is from its open source code.
CachingClientConnectionFactory(AbstractClientConnectionFactory target, int poolSize) Construct a caching connection factory that delegates to the provided factory, with the provided pool size. |
int | getActiveCount() |
TcpConnectionSupport | getConnection() Obtains a connection - if #setSingleUse(boolean) was called with true, a new connection is returned; otherwise a single connection is reused for all requests while the connection remains open. |
int | getIdleCount() |
void | registerListener(TcpListener listener) Delegate TCP Client Connection factories that are used to receive data need a Listener to send the messages to. |
void | setConnectionWaitTimeout(int connectionWaitTimeout) |
void | setPoolSize(int poolSize) |
void | setSingleUse(boolean singleUse) Ignored on this factory; connections are always cached in the pool. |
void | start() |
void | stop() |