Java org.springframework.integration.ip.tcp.connection CachingClientConnectionFactory fields, constructors, methods, implement or subclass

Example usage for Java org.springframework.integration.ip.tcp.connection CachingClientConnectionFactory fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for org.springframework.integration.ip.tcp.connection CachingClientConnectionFactory.

The text is from its open source code.

Constructor

CachingClientConnectionFactory(AbstractClientConnectionFactory target, int poolSize)
Construct a caching connection factory that delegates to the provided factory, with the provided pool size.

Method

intgetActiveCount()
TcpConnectionSupportgetConnection()
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.
intgetIdleCount()
voidregisterListener(TcpListener listener)
Delegate TCP Client Connection factories that are used to receive data need a Listener to send the messages to.
voidsetConnectionWaitTimeout(int connectionWaitTimeout)
voidsetPoolSize(int poolSize)
voidsetSingleUse(boolean singleUse)
Ignored on this factory; connections are always cached in the pool.
voidstart()
voidstop()