@Contract public interface PoolManager extends TransactedPoolManager
| Modifier and Type | Field and Description |
|---|---|
static int |
BASIC_PASSWORD |
static String |
GENERIC_CREDENTIAL |
static int |
KERBV5 |
static int |
LOCAL_TRANSACTION |
static int |
NO_TRANSACTION |
static String |
PASSWORD_CREDENTIAL |
static int |
XA_TRANSACTION |
registerResource, resourceEnlisted, unregisterResourcestatic final int NO_TRANSACTION
static final int LOCAL_TRANSACTION
static final int XA_TRANSACTION
static final int BASIC_PASSWORD
static final int KERBV5
static final String PASSWORD_CREDENTIAL
static final String GENERIC_CREDENTIAL
boolean flushConnectionPool(PoolInfo poolInfo) throws PoolingException
poolInfo - PoolingExceptionPoolStatus getPoolStatus(PoolInfo poolInfo)
ResourceHandle getResourceFromPool(ResourceSpec spec, ResourceAllocator alloc, ClientSecurityInfo info, Transaction tran) throws PoolingException, javax.resource.spi.RetryableUnavailableException
PoolingExceptionjavax.resource.spi.RetryableUnavailableExceptionvoid createEmptyConnectionPool(PoolInfo poolInfo, ConnectorConstants.PoolType pt, Hashtable env) throws PoolingException
PoolingExceptionvoid putbackResourceToPool(ResourceHandle h, boolean errorOccurred)
void putbackBadResourceToPool(ResourceHandle h)
void putbackDirectToPool(ResourceHandle h, PoolInfo poolInfo)
void resourceClosed(ResourceHandle res)
void badResourceClosed(ResourceHandle res)
void resourceErrorOccurred(ResourceHandle res)
void resourceAbortOccurred(ResourceHandle res)
void transactionCompleted(Transaction tran, int status)
void emptyResourcePool(ResourceSpec spec)
void killPool(PoolInfo poolInfo)
void reconfigPoolProperties(ConnectorConnectionPool ccp) throws PoolingException
PoolingExceptionboolean switchOnMatching(PoolInfo poolInfo)
Object getResource(ResourceSpec spec, ResourceAllocator alloc, ClientSecurityInfo info) throws PoolingException, javax.resource.spi.RetryableUnavailableException
spec - Specification for the resourcealloc - Allocator for the resourceinfo - Client security for this requestPoolingException - Thrown if some error occurs while
obtaining the resourcejavax.resource.spi.RetryableUnavailableExceptionResourceReferenceDescriptor getResourceReference(String jndiName, String logicalName)
void killAllPools()
void killFreeConnectionsInPools()
ResourcePool getPool(PoolInfo poolInfo)
void setSelfManaged(PoolInfo poolInfo, boolean flag)
void lazyEnlist(javax.resource.spi.ManagedConnection mc)
throws javax.resource.ResourceException
javax.resource.ResourceExceptionvoid registerPoolLifeCycleListener(PoolLifeCycle poolListener)
void unregisterPoolLifeCycleListener()
Copyright © 2017. All rights reserved.