Class MiloClientCachingConnectionManager
- java.lang.Object
-
- org.apache.camel.component.milo.client.MiloClientCachingConnectionManager
-
- All Implemented Interfaces:
MiloClientConnectionManager
public class MiloClientCachingConnectionManager extends Object implements MiloClientConnectionManager
A cachingMiloClientConnectionManagerwhich cache and reuses the sameMiloClientConnectionfor clients with the same cache id (MiloClientConfiguration.toCacheId().
-
-
Constructor Summary
Constructors Constructor Description MiloClientCachingConnectionManager()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description MiloClientConnectioncreateConnection(MiloClientConfiguration configuration, MonitorFilterConfiguration monitorFilterConfiguration)Creates the connectionvoidreleaseConnection(MiloClientConnection connection)Releases the connection
-
-
-
Method Detail
-
createConnection
public MiloClientConnection createConnection(MiloClientConfiguration configuration, MonitorFilterConfiguration monitorFilterConfiguration)
Description copied from interface:MiloClientConnectionManagerCreates the connection- Specified by:
createConnectionin interfaceMiloClientConnectionManager
-
releaseConnection
public void releaseConnection(MiloClientConnection connection)
Description copied from interface:MiloClientConnectionManagerReleases the connection- Specified by:
releaseConnectionin interfaceMiloClientConnectionManager
-
-