public interface ConnectionManagerAdapter extends ConnectionManager, org.mule.runtime.api.lifecycle.Stoppable
ConnectionManager implementations which expands its contract with non API functionality| Modifier and Type | Method and Description |
|---|---|
org.mule.runtime.api.config.PoolingProfile |
getDefaultPoolingProfile()
When no
PoolingProfile is specified by the user the ConnectionManagerAdapter will provide the default one to
configure the pool of connections |
RetryPolicyTemplate |
getDefaultRetryPolicyTemplate()
When no
RetryPolicyTemplate is specified by the user the ConnectionManagerAdapter will provide the default
one to create the required RetryPolicys instances. |
<C> RetryPolicyTemplate |
getRetryTemplateFor(org.mule.runtime.api.connection.ConnectionProvider<C> connectionProvider)
Returns the
RetryPolicyTemplate that should be applied to the given connectionProvider |
bind, getConnection, hasBinding, testConnectivity, testConnectivity, unbindRetryPolicyTemplate getDefaultRetryPolicyTemplate()
RetryPolicyTemplate is specified by the user the ConnectionManagerAdapter will provide the default
one to create the required RetryPolicys instances.RetryPolicyTemplate<C> RetryPolicyTemplate getRetryTemplateFor(org.mule.runtime.api.connection.ConnectionProvider<C> connectionProvider)
RetryPolicyTemplate that should be applied to the given connectionProviderC - the generic type of the connection returned by the providerconnectionProvider - a ConnectionProviderRetryPolicyTemplateorg.mule.runtime.api.config.PoolingProfile getDefaultPoolingProfile()
PoolingProfile is specified by the user the ConnectionManagerAdapter will provide the default one to
configure the pool of connectionsPoolingProfileCopyright © 2003–2017 MuleSoft, Inc.. All rights reserved.