| Package | Description |
|---|---|
| org.mule.runtime.api.connection |
| Modifier and Type | Method and Description |
|---|---|
ConnectionHandlingStrategy<Connection> |
ConnectionHandlingStrategyFactory.cached()
Returns a strategy which lazily creates and caches connections so that each invocation to the
ConnectionProvider.connect() method using the same config argument results in the same
connection. |
ConnectionHandlingStrategy<Connection> |
ConnectionProvider.getHandlingStrategy(ConnectionHandlingStrategyFactory<Connection> handlingStrategyFactory)
Specifies the
ConnectionHandlingStrategy that should be use to manage
the connections generated through the ConnectionProvider.connect() method. |
ConnectionHandlingStrategy<Connection> |
ConnectionHandlingStrategyFactory.none()
Creates a strategy which adds no behaviour.
|
ConnectionHandlingStrategy<Connection> |
ConnectionHandlingStrategyFactory.requiresPooling()
Creates a strategy in which pooling is enforced.
|
ConnectionHandlingStrategy<Connection> |
ConnectionHandlingStrategyFactory.requiresPooling(PoolingListener<Connection> poolingListener)
Performs the exact same contract as
ConnectionHandlingStrategyFactory.requiresPooling() but adding the possibility
to specify a PoolingListener which allows additional custom handling of the pooled Connections
when they're borrowed and returned to the pool |
ConnectionHandlingStrategy<Connection> |
ConnectionHandlingStrategyFactory.supportsPooling()
Creates a strategy which supports pooling but does not enforce it.
|
ConnectionHandlingStrategy<Connection> |
ConnectionHandlingStrategyFactory.supportsPooling(PoolingListener<Connection> poolingListener)
Performs the exact same contract as
ConnectionHandlingStrategyFactory.supportsPooling() but adding the possibility
to specify a PoolingListener which allows additional custom handling of the pooled Connections
when they're borrowed and returned to the pool |
Copyright © 2016 MuleSoft, Inc.. All rights reserved.