Modifier and Type | Method and Description |
---|---|
static PoolInfo |
ConnectorsUtil.getPoolInfo(ResourcePool resource) |
Modifier and Type | Method and Description |
---|---|
boolean |
ConnectorRuntime.flushConnectionPool(PoolInfo poolInfo)
Flush Connection pool by reinitializing the connections
established in the pool.
|
static String |
ConnectorsUtil.getApplicationName(PoolInfo poolInfo) |
ResourcePool |
ConnectorRuntime.getConnectionPoolConfig(PoolInfo poolInfo)
Provide the configuration of the pool
|
static ResourcePool |
ConnectorsUtil.getConnectionPoolConfig(PoolInfo poolInfo,
Resources allResources) |
boolean |
ConnectorRuntime.getPingDuringPoolCreation(PoolInfo poolInfo)
Check if Ping attribute is on during pool creation.
|
static boolean |
ConnectorsUtil.getPingDuringPoolCreation(PoolInfo poolInfo,
Resources allResources) |
static String |
ConnectorsUtil.getPoolMonitoringSubTreeRoot(PoolInfo poolInfo,
boolean escapeSlashes) |
javax.resource.spi.ManagedConnectionFactory |
ConnectorRuntime.obtainManagedConnectionFactory(PoolInfo poolInfo)
Returns the MCF instance.
|
javax.resource.spi.ManagedConnectionFactory |
ConnectorRuntime.obtainManagedConnectionFactory(PoolInfo poolInfo,
Hashtable env)
provide the MCF of the pool (either retrieve or create)
|
boolean |
ConnectorRuntime.pingConnectionPool(PoolInfo poolInfo)
Tests whether the configuration for the pool is valid by making a connection.
|
Modifier and Type | Field and Description |
---|---|
protected PoolInfo |
ConnectionManagerImpl.poolInfo |
Modifier and Type | Field and Description |
---|---|
protected Map<PoolInfo,PoolMetaData> |
ConnectorRegistry.factories |
protected Set<PoolInfo> |
ConnectorRegistry.transparentDynamicReconfigPools |
Modifier and Type | Method and Description |
---|---|
PoolInfo |
ConnectorConnectionPool.getPoolInfo() |
PoolInfo |
ConnectorRuntimeExtension.getPoolNameFromResourceJndiName(ResourceInfo resourceInfo) |
Modifier and Type | Method and Description |
---|---|
void |
ConnectorRegistry.addManagedConnectionFactory(PoolInfo poolInfo,
PoolMetaData pmd)
Add MCF instance pertaining to the poolName to the registry.
|
void |
ConnectorRegistry.addTransparentDynamicReconfigPool(PoolInfo poolInfo)
Add PoolInfo that has transparent-dynamic-reconfiguration enabled .
|
void |
ConnectorRuntime.createConnectorResource(ResourceInfo resourceInfo,
PoolInfo poolInfo,
String resourceType)
Creates the connector resource on a given connection pool
|
void |
ConnectorRuntime.deleteConnectorConnectionPool(PoolInfo poolInfo)
Deletes connector Connection pool
|
boolean |
ConnectorRuntime.flushConnectionPool(PoolInfo poolInfo)
Flush Connection pool by reinitializing the connections
established in the pool.
|
AuthenticationService |
ConnectorRuntime.getAuthenticationService(String rarName,
PoolInfo poolInfo)
Obtain the authentication service associated with rar module.
|
static javax.resource.spi.ConnectionManager |
ConnectionManagerFactory.getAvailableConnectionManager(PoolInfo poolInfo,
boolean forceNoLazyAssoc,
ResourceInfo resourceInfo) |
ResourcePool |
ConnectorRuntime.getConnectionPoolConfig(PoolInfo poolInfo) |
javax.resource.spi.ManagedConnectionFactory |
ConnectorRegistry.getManagedConnectionFactory(PoolInfo poolInfo)
Retrieve MCF instance pertaining to the poolName from the registry.
|
boolean |
ConnectorRuntime.getPingDuringPoolCreation(PoolInfo poolInfo)
Check if ping is on during pool creation.
|
PoolMetaData |
ConnectorRegistry.getPoolMetaData(PoolInfo poolInfo) |
ConnectorConstants.PoolType |
ConnectorRuntime.getPoolType(PoolInfo poolInfo) |
Resources |
ConnectorRuntime.getResources(PoolInfo poolInfo) |
RuntimeSecurityMap |
ConnectorRegistry.getRuntimeSecurityMap(PoolInfo poolInfo)
Gets the runtime equivalent of policies enforced by the Security Maps
pertaining to a pool from the Pool's Meta Data.
|
boolean |
ConnectorRuntimeExtension.isConnectionPoolReferredInServerInstance(PoolInfo poolInfo) |
boolean |
ConnectorRuntime.isConnectorConnectionPoolDeployed(PoolInfo poolInfo)
Checks if a conncetor connection pool has been deployed to this server
instance
|
boolean |
ConnectorRegistry.isMCFCreated(PoolInfo poolInfo)
Checks if the MCF pertaining to the pool is instantiated and present
in the registry.
|
boolean |
ConnectorRegistry.isTransparentDynamicReconfigPool(PoolInfo poolInfo)
indicates whether the pool has transparent-dynamic-reconfiguration property enabled
|
javax.resource.spi.ConnectionManager |
ConnectorRuntime.obtainConnectionManager(PoolInfo poolInfo,
boolean forceNoLazyAssoc,
ResourceInfo resourceInfo)
provides connection manager for a pool
|
javax.resource.spi.ManagedConnectionFactory[] |
ConnectorRuntime.obtainManagedConnectionFactories(PoolInfo poolInfo)
Returns the MCF instances in scenarions where a pool has to
return multiple mcfs.
|
javax.resource.spi.ManagedConnectionFactory |
ConnectorRuntime.obtainManagedConnectionFactory(PoolInfo poolInfo)
Returns the MCF instance.
|
javax.resource.spi.ManagedConnectionFactory |
ConnectorRuntime.obtainManagedConnectionFactory(PoolInfo poolInfo,
Hashtable env)
Returns the MCF instance.
|
boolean |
ConnectorRuntime.pingConnectionPool(PoolInfo poolInfo) |
ConnectionPoolAppProbeProvider |
ConnectionPoolMonitoringExtension.registerConnectionPool(PoolInfo poolInfo,
String appName)
Register connection pool for Application based monitoring
|
void |
ConnectionPoolMonitoringExtension.registerPool(PoolInfo poolInfo) |
boolean |
ConnectorRegistry.removeManagedConnectionFactory(PoolInfo poolInfo)
Remove MCF instance pertaining to the poolName from the registry.
|
boolean |
ConnectorRegistry.removeTransparentDynamicReconfigPool(PoolInfo poolInfo)
Remove ResourceInfo from registry.
|
void |
ConnectorRuntime.switchOnMatching(String rarName,
PoolInfo poolInfo)
Causes pool to switch on the matching of connections.
|
void |
ConnectorRuntime.switchOnMatchingInJndi(PoolInfo poolInfo)
Causes matching to be switched on the ConnectorConnectionPool
bound in JNDI
|
void |
ConnectionPoolMonitoringExtension.unregisterPool(PoolInfo poolInfo) |
Constructor and Description |
---|
ConnectionManagerImpl(PoolInfo poolInfo,
ResourceInfo resourceInfo) |
ConnectorConnectionPool(PoolInfo poolInfo) |
LazyAssociatableConnectionManagerImpl(PoolInfo poolInfo,
ResourceInfo resourceInfo) |
LazyEnlistableConnectionManagerImpl(PoolInfo poolInfo,
ResourceInfo resourceInfo) |
PoolMetaData(PoolInfo poolInfo,
javax.resource.spi.ManagedConnectionFactory mcf,
Subject s,
int txSupport,
ResourcePrincipal prin,
boolean isPM,
boolean isNonTx,
boolean lazyEnlistable,
RuntimeSecurityMap runtimeSecurityMap,
boolean lazyAssoc) |
Constructor and Description |
---|
BasicPasswordAuthenticationService(String rarName,
PoolInfo poolInfo)
Constructor
|
Modifier and Type | Method and Description |
---|---|
boolean |
ConnectorService.checkAndLoadPool(PoolInfo poolInfo) |
void |
ConnectorResourceAdminServiceImpl.createConnectorResource(ResourceInfo resourceInfo,
PoolInfo poolInfo,
String resourceType)
Creates the connector resource on a given connection pool
|
void |
ConnectorConnectionPoolAdminServiceImpl.deleteConnectorConnectionPool(PoolInfo poolInfo)
Deletes connector Connection pool
|
void |
ConnectorConnectionPoolAdminServiceImpl.deleteConnectorConnectionPool(PoolInfo poolInfo,
boolean cascade)
Deletes connector Connection pool.
|
boolean |
ConnectorConnectionPoolAdminServiceImpl.flushConnectionPool(PoolInfo poolInfo)
Flush Connection pool by reinitializing the connections
established in the pool.
|
AuthenticationService |
ConnectorSecurityAdminServiceImpl.getAuthenticationService(String rarName,
PoolInfo poolInfo)
Obtain the authentication service associated with rar module.
|
static ResourcePrincipal |
ConnectorAdminServiceUtils.getDefaultResourcePrincipal(PoolInfo poolInfo) |
protected Subject |
ConnectorConnectionPoolAdminServiceImpl.getDefaultSubject(PoolInfo poolInfo,
javax.resource.spi.ManagedConnectionFactory mcf,
ResourcePrincipal prin)
Utility method that is used to get the default subject for the
specified mcf and resource principal.
|
ConnectorConstants.PoolType |
ConnectorConnectionPoolAdminServiceImpl.getPoolType(PoolInfo poolInfo) |
static String |
ConnectorAdminServiceUtils.getReservePrefixedJNDINameForPool(PoolInfo poolInfo) |
Object |
ConnectorConnectionPoolAdminServiceImpl.getUnpooledConnection(PoolInfo poolInfo,
ResourcePrincipal principal,
boolean returnConnectionHandle)
This method is used to provide backend functionality for the
ping-connection-pool asadmin command.
|
boolean |
ConnectorConnectionPoolAdminServiceImpl.isConnectorConnectionPoolDeployed(PoolInfo poolInfo)
Checks if a conncetor connection pool has been deployed to this server
instance
|
void |
ConnectorConnectionPoolAdminServiceImpl.killPool(PoolInfo poolInfo)
Kills a specific pool
|
javax.resource.spi.ManagedConnectionFactory[] |
ConnectorConnectionPoolAdminServiceImpl.obtainManagedConnectionFactories(PoolInfo poolInfo)
Returns the MCF instances.
|
javax.resource.spi.ManagedConnectionFactory |
ConnectorConnectionPoolAdminServiceImpl.obtainManagedConnectionFactory(PoolInfo poolInfo) |
javax.resource.spi.ManagedConnectionFactory |
ConnectorConnectionPoolAdminServiceImpl.obtainManagedConnectionFactory(PoolInfo poolInfo,
Hashtable env)
Returns the MCF instance.
|
void |
ConnectorConnectionPoolAdminServiceImpl.switchOnMatching(PoolInfo poolInfo)
Rebinds the connection pool with matchning flag set.
|
void |
ConnectorService.switchOnMatching(String rarName,
PoolInfo poolInfo)
Matching will be switched off in the pool, by default.
|
boolean |
ConnectorConnectionPoolAdminServiceImpl.testConnectionPool(PoolInfo poolInfo)
asadmin test-connection-pool
This method is used to provide backend functionality for the
test-connection-pool asadmin command.
|
Modifier and Type | Method and Description |
---|---|
static ConnectorConnectionPool |
ConnectionPoolObjectsUtils.createDefaultConnectorPoolObject(PoolInfo poolInfo,
String rarName)
Creates default ConnectorConnectionPool consisting of default
pool values.
|
static ConnectorConnectionPool |
ConnectionPoolObjectsUtils.createSunRaConnectorPoolObject(PoolInfo poolInfo,
ConnectorDescriptor desc,
String rarName)
Creates ConnectorConnectionPool object pertaining to the pool props
mentioned in the sun-ra/xml i.e it represents the pool mentioned in the
sun-ra.xm.
|
ResourcePool |
ResourcesUtil.getPoolConfig(PoolInfo poolInfo) |
Resources |
ResourcesUtil.getResources(PoolInfo poolInfo) |
static String |
ConnectionPoolObjectsUtils.getValueFromMCF(String prop,
PoolInfo poolInfo,
javax.resource.spi.ManagedConnectionFactory mcf) |
boolean |
ResourcesUtil.isPoolReferredInServerInstance(PoolInfo poolInfo)
Determines if a connector connection pool is referred in a
server-instance via resource-refs
|
Modifier and Type | Method and Description |
---|---|
PoolInfo |
ResourceSpec.getPoolInfo() |
Modifier and Type | Method and Description |
---|---|
void |
ResourceSpec.setPoolInfo(PoolInfo poolInfo) |
Modifier and Type | Method and Description |
---|---|
void |
PoolLifeCycle.poolCreated(PoolInfo poolInfo) |
void |
PoolLifeCycle.poolDestroyed(PoolInfo poolInfo) |
Modifier and Type | Field and Description |
---|---|
protected PoolInfo |
ConnectionPool.poolInfo |
Modifier and Type | Method and Description |
---|---|
PoolInfo |
PoolStatus.getPoolInfo() |
PoolInfo |
ConnectionPool.getPoolInfo()
query the name of this pool.
|
PoolInfo |
ResourcePool.getPoolInfo() |
Modifier and Type | Method and Description |
---|---|
void |
PoolManagerImpl.createEmptyConnectionPool(PoolInfo poolInfo,
ConnectorConstants.PoolType pt,
Hashtable env) |
void |
PoolManager.createEmptyConnectionPool(PoolInfo poolInfo,
ConnectorConstants.PoolType pt,
Hashtable env) |
boolean |
PoolManagerImpl.flushConnectionPool(PoolInfo poolInfo)
Flush Connection pool by reinitializing the connections
established in the pool.
|
boolean |
PoolManager.flushConnectionPool(PoolInfo poolInfo)
Flush Connection pool by reinitializing the connections
established in the pool.
|
ResourcePool |
PoolManagerImpl.getPool(PoolInfo poolInfo) |
ResourcePool |
PoolManager.getPool(PoolInfo poolInfo) |
PoolStatus |
PoolManagerImpl.getPoolStatus(PoolInfo poolInfo)
Get connection pool status.
|
PoolStatus |
PoolManager.getPoolStatus(PoolInfo poolInfo) |
void |
PoolManagerImpl.killPool(PoolInfo poolInfo)
Kill the pool with the specified pool name
|
void |
PoolManager.killPool(PoolInfo poolInfo) |
static ResourcePool |
ResourcePoolFactoryImpl.newInstance(PoolInfo poolInfo,
ConnectorConstants.PoolType pt,
Hashtable env) |
void |
PoolLifeCycleRegistry.poolCreated(PoolInfo poolInfo)
Invoke poolCreated for all listeners of this pool.
|
void |
PoolLifeCycleRegistry.poolDestroyed(PoolInfo poolInfo)
Invoke poolDestroyed for all listeners of this pool.
|
void |
PoolManagerImpl.putbackDirectToPool(ResourceHandle h,
PoolInfo poolInfo) |
void |
PoolManager.putbackDirectToPool(ResourceHandle h,
PoolInfo poolInfo) |
void |
PoolStatus.setPoolInfo(PoolInfo poolInfo) |
void |
AbstractPoolManager.setSelfManaged(PoolInfo poolInfo,
boolean flag) |
void |
PoolManager.setSelfManaged(PoolInfo poolInfo,
boolean flag) |
boolean |
PoolManagerImpl.switchOnMatching(PoolInfo poolInfo)
Switch on matching in the pool.
|
boolean |
PoolManager.switchOnMatching(PoolInfo poolInfo) |
List<ResourceHandle> |
PoolTxHelper.transactionCompleted(Transaction tran,
int status,
PoolInfo poolInfo)
this method is called when transaction tran is completed
|
void |
PoolLifeCycleListenerRegistry.unRegisterPoolLifeCycleListener(PoolInfo poolInfo)
Clear the list of pool lifecycle listeners maintained by the registry.
|
Constructor and Description |
---|
AssocWithThreadResourcePool(PoolInfo poolInfo,
Hashtable env) |
ConnectionLeakDetector(PoolInfo poolInfo,
boolean leakTracing,
long leakTimeoutInMillis,
boolean leakReclaim) |
ConnectionPool(PoolInfo poolInfo,
Hashtable env) |
PoolLifeCycleListenerRegistry(PoolInfo poolInfo) |
PoolStatus(PoolInfo poolInfo) |
PoolTxHelper(PoolInfo poolInfo) |
UnpooledResource(PoolInfo poolInfo,
Hashtable env)
Creates a new instance of UnpooledResourcePool
|
Modifier and Type | Method and Description |
---|---|
protected PoolInfo |
ConnectorConnPoolStatsProvider.getPoolInfo() |
Modifier and Type | Method and Description |
---|---|
void |
ConnectionPoolStatsProviderBootstrap.addToPoolEmitters(PoolInfo poolInfo,
ConnectionPoolEmitterImpl emitter) |
void |
ConnectionPoolStatsProviderBootstrap.poolCreated(PoolInfo poolInfo)
When a pool is created (or initialized) the pool should be registered
to the StatsProviderManager.
|
void |
ConnectionPoolStatsProviderBootstrap.poolDestroyed(PoolInfo poolInfo)
When a pool is destroyed, the pool should be unregistered from the
StatsProviderManager.
|
void |
ConnectionPoolStatsProviderBootstrap.postUnregisterPool(PoolInfo poolInfo) |
PoolLifeCycleListenerRegistry |
ConnectionPoolStatsProviderBootstrap.registerPool(PoolInfo poolInfo,
ConnectionPoolProbeProvider poolProvider)
Registers the pool lifecycle listener for this pool by creating a
new ConnectionPoolEmitterImpl object for this pool.
|
ConnectionPoolAppProbeProvider |
ConnectionPoolStatsProviderBootstrap.registerPool(PoolInfo poolInfo,
String appName) |
void |
ConnectionPoolStatsProviderBootstrap.unregisterPoolAppProviders(PoolInfo poolInfo) |
Constructor and Description |
---|
ConnectionPoolEmitterImpl(PoolInfo poolInfo,
ConnectionPoolProbeProvider provider)
Constructor
|
ConnectorConnPoolAppStatsProvider(PoolInfo poolInfo,
String appName) |
ConnectorConnPoolStatsProvider(PoolInfo poolInfo,
Logger logger) |
Modifier and Type | Field and Description |
---|---|
protected PoolInfo |
Resizer.poolInfo |
Constructor and Description |
---|
AssocWithThreadPoolResizer(PoolInfo poolInfo,
DataStructure ds,
PoolProperties pp,
ResourceHandler handler,
boolean preferValidateOverRecreate) |
Resizer(PoolInfo poolInfo,
DataStructure dataStructure,
PoolProperties pp,
ResourceHandler handler,
boolean preferValidateOverRecreate) |
Modifier and Type | Method and Description |
---|---|
protected PoolInfo |
ManagedConnectionFactoryImpl.getPoolInfo() |
Constructor and Description |
---|
ManagedConnectionImpl(PooledConnection pooledConn,
Connection sqlConn,
javax.resource.spi.security.PasswordCredential passwdCred,
javax.resource.spi.ManagedConnectionFactory mcf,
PoolInfo poolInfo,
int statementCacheSize,
String statementCacheType,
SQLTraceDelegator delegator,
long statementLeakTimeout,
boolean statementLeakReclaim)
Constructor for
ManagedConnectionImpl . |
Modifier and Type | Method and Description |
---|---|
static Cache |
CacheFactory.getDataStructure(PoolInfo poolInfo,
String cacheType,
int maxSize) |
Constructor and Description |
---|
FIXEDCacheImpl(PoolInfo poolInfo,
int maxSize) |
LRUCacheImpl(PoolInfo poolInfo,
int maxSize) |
Constructor and Description |
---|
StatementLeakDetector(PoolInfo poolInfo,
boolean leakTracing,
long leakTimeoutInMillis,
boolean leakReclaim,
Timer timer) |
Modifier and Type | Method and Description |
---|---|
void |
JdbcConnectionPoolDeployer.actualDeployResource(Object resource,
PoolInfo poolInfo)
Deploy the resource into the server's runtime naming context
|
ConnectorConnectionPool |
JdbcConnectionPoolDeployer.createConnectorConnectionPool(JdbcConnectionPool adminPool,
PoolInfo poolInfo) |
Modifier and Type | Method and Description |
---|---|
PoolInfo |
JdbcConnPoolStatsProvider.getPoolInfo() |
Constructor and Description |
---|
JdbcConnPoolAppStatsProvider(PoolInfo poolInfo,
String appName) |
JdbcConnPoolStatsProvider(PoolInfo poolInfo,
Logger logger) |
Modifier and Type | Method and Description |
---|---|
boolean |
JdbcResourcesUtil.isJdbcPoolReferredInServerInstance(PoolInfo poolInfo)
Determines if a JDBC connection pool is referred in a
server-instance via resource-refs
|
Modifier and Type | Method and Description |
---|---|
PoolInfo |
JdbcRuntimeExtension.getPoolNameFromResourceJndiName(ResourceInfo resourceInfo)
Gets the Pool name that this JDBC resource points to.
|
Modifier and Type | Method and Description |
---|---|
boolean |
JdbcRuntimeExtension.isConnectionPoolReferredInServerInstance(PoolInfo poolInfo)
Determines if a JDBC connection pool is referred in a
server-instance via resource-refs
|
ConnectionPoolAppProbeProvider |
JdbcPoolMonitoringExtension.registerConnectionPool(PoolInfo poolInfo,
String appName)
Register the jdbc connection pool Stats Provider object to the
monitoring framework under the specific application name monitoring
sub tree.
|
void |
JdbcPoolMonitoringExtension.registerPool(PoolInfo poolInfo)
Register jdbc connection pool to the StatsProviderManager.
|
void |
JdbcPoolMonitoringExtension.unregisterPool(PoolInfo poolInfo)
Unregister Jdbc Connection pool from the StatsProviderManager.
|
Modifier and Type | Method and Description |
---|---|
Set<String> |
JdbcAdminServiceImpl.getValidationTableNames(PoolInfo poolInfo)
Get Validation table names list for the database that the jdbc
connection pool refers to.
|
Modifier and Type | Method and Description |
---|---|
static PoolInfo |
ResourceUtil.getPoolInfo(ResourcePool resource) |
Copyright © 2019. All rights reserved.