public class ConnectorPoolManager extends Object
Modifier and Type | Class and Description |
---|---|
static class |
ConnectorPoolManager.ConnectorPoolKey |
Constructor and Description |
---|
ConnectorPoolManager() |
Modifier and Type | Method and Description |
---|---|
static void |
dispose() |
static void |
dispose(ConnectorPoolManager.ConnectorPoolKey connectorPoolKey) |
static Pair<ConnectorPoolManager.ConnectorPoolKey,ObjectPool<PoolableConnector>> |
getPool(APIConfigurationImpl impl,
LocalConnectorInfoImpl localInfo)
Get a object pool for this connector if it supports connector pooling.
|
static ObjectPool<PoolableConnector> |
getPool(ConnectorPoolManager.ConnectorPoolKey connectorPoolKey)
Get a object pool for this connector if it was created before.
|
public static Pair<ConnectorPoolManager.ConnectorPoolKey,ObjectPool<PoolableConnector>> getPool(APIConfigurationImpl impl, LocalConnectorInfoImpl localInfo)
public static ObjectPool<PoolableConnector> getPool(ConnectorPoolManager.ConnectorPoolKey connectorPoolKey)
public static void dispose(ConnectorPoolManager.ConnectorPoolKey connectorPoolKey)
public static void dispose()
Copyright © 2019. All rights reserved.