| Modifier and Type | Method and Description |
|---|---|
void |
ResourceHandle.closeUserConnection() |
void |
TransactedPoolManager.registerResource(ResourceHandle handle)
registers the provided resource with the component & enlists the resource in the transaction
|
| Modifier and Type | Method and Description |
|---|---|
void |
BasicResourceAllocator.cleanup(ResourceHandle resourceHandle) |
void |
BasicResourceAllocator.closeUserConnection(ResourceHandle resourceHandle) |
ResourceHandle |
BasicResourceAllocator.createResource() |
ResourceHandle |
BasicResourceAllocator.createResource(XAResource xaResource) |
| Modifier and Type | Method and Description |
|---|---|
void |
ResourceHandle.closeUserConnection() |
| Modifier and Type | Method and Description |
|---|---|
void |
AbstractConnectorAllocator.cleanup(ResourceHandle h) |
void |
ResourceAllocator.cleanup(ResourceHandle resource) |
void |
AbstractConnectorAllocator.closeUserConnection(ResourceHandle resource) |
void |
ResourceAllocator.closeUserConnection(ResourceHandle resource) |
ResourceHandle |
LocalTxConnectorAllocator.createResource() |
ResourceHandle |
NoTxConnectorAllocator.createResource() |
ResourceHandle |
ResourceAllocator.createResource() |
ResourceHandle |
ConnectorAllocator.createResource() |
void |
AbstractConnectorAllocator.destroyResource(ResourceHandle resourceHandle) |
void |
LocalTxConnectorAllocator.destroyResource(ResourceHandle resource) |
void |
NoTxConnectorAllocator.destroyResource(ResourceHandle resource) |
void |
ResourceAllocator.destroyResource(ResourceHandle resource) |
void |
ConnectorAllocator.destroyResource(ResourceHandle resource) |
void |
AbstractConnectorAllocator.fillInResourceObjects(ResourceHandle resourceHandle) |
void |
LocalTxConnectorAllocator.fillInResourceObjects(ResourceHandle resource) |
void |
NoTxConnectorAllocator.fillInResourceObjects(ResourceHandle resource) |
void |
ResourceAllocator.fillInResourceObjects(ResourceHandle resource) |
void |
ConnectorAllocator.fillInResourceObjects(ResourceHandle resource) |
Object |
AbstractConnectorAllocator.getSharedConnection(ResourceHandle h) |
Object |
ResourceAllocator.getSharedConnection(ResourceHandle h) |
| Modifier and Type | Method and Description |
|---|---|
Object |
AdministeredObjectResource.createAdministeredObject(ClassLoader jcl) |
| Modifier and Type | Method and Description |
|---|---|
void |
ConnectionPool.addResource(ResourceAllocator alloc)
add a resource with status busy and not enlisted
|
void |
PoolManagerImpl.createEmptyConnectionPool(PoolInfo poolInfo,
ConnectorConstants.PoolType pt,
Hashtable env) |
void |
PoolManager.createEmptyConnectionPool(PoolInfo poolInfo,
ConnectorConstants.PoolType pt,
Hashtable env) |
ResourceHandle |
ResourceHandler.createResource(ResourceAllocator allocator)
create a new resource using the given resource-allocator
|
ResourceHandle |
ConnectionPool.createResource(ResourceAllocator alloc) |
void |
ResourceHandler.createResourceAndAddToPool()
create a new resource and add it to pool (using default resource-allocator)
|
void |
ConnectionPool.createResourceAndAddToPool() |
protected ResourceHandle |
ConnectionPool.createSingleResource(ResourceAllocator resourceAllocator)
Method to be used to create resource, instead of calling ResourceAllocator.createConfigBean().
|
protected ResourceHandle |
ConnectionPool.createSingleResourceAndAdjustPool(ResourceAllocator alloc,
ResourceSpec spec)
This method will be called from the getUnenlistedResource method if
we detect a failAllConnection flag.
|
boolean |
ResourcePool.flushConnectionPool()
Flush Connection pool by reinitializing the connections
established in the pool.
|
boolean |
ConnectionPool.flushConnectionPool()
Reinitialize connections established in the connection pool and
bring the pool to steady pool size.
|
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.
|
static ResourceGateway |
ResourceGateway.getInstance(String className) |
protected ConnectorConnectionPool |
ConnectionPool.getPoolConfigurationFromJndi(Hashtable env) |
Object |
PoolManagerImpl.getResource(ResourceSpec spec,
ResourceAllocator alloc,
ClientSecurityInfo info) |
Object |
PoolManager.getResource(ResourceSpec spec,
ResourceAllocator alloc,
ClientSecurityInfo info)
Obtain a transactional resource such as JDBC connection
|
ResourceHandle |
ResourcePool.getResource(ResourceSpec spec,
ResourceAllocator alloc,
Transaction tran) |
ResourceHandle |
ConnectionPool.getResource(ResourceSpec spec,
ResourceAllocator alloc,
Transaction txn)
returns resource from the pool.
|
protected ResourceHandle |
ConnectionPool.getResourceFromPool(ResourceAllocator alloc,
ResourceSpec spec)
return resource in free list.
|
ResourceHandle |
PoolManagerImpl.getResourceFromPool(ResourceSpec spec,
ResourceAllocator alloc,
ClientSecurityInfo info,
Transaction tran) |
ResourceHandle |
PoolManager.getResourceFromPool(ResourceSpec spec,
ResourceAllocator alloc,
ClientSecurityInfo info,
Transaction tran) |
protected ResourceHandle |
ConnectionPool.getUnenlistedResource(ResourceSpec spec,
ResourceAllocator alloc,
Transaction tran)
To provide an unenlisted, valid, matched resource from pool.
|
protected ResourceHandle |
UnpooledResource.getUnenlistedResource(ResourceSpec spec,
ResourceAllocator alloc,
Transaction tran) |
protected ResourceHandle |
AssocWithThreadResourcePool.getUnenlistedResource(ResourceSpec spec,
ResourceAllocator alloc,
Transaction tran)
return resource in free list.
|
protected void |
ConnectionPool.initializePoolDataStructure() |
protected void |
AssocWithThreadResourcePool.initializePoolDataStructure() |
protected void |
ConnectionPool.initializePoolWaitQueue() |
protected void |
ConnectionPool.initPool(ResourceAllocator allocator) |
protected void |
UnpooledResource.initPool(ResourceAllocator allocator) |
protected ResourceHandle |
ConnectionPool.internalGetResource(ResourceSpec spec,
ResourceAllocator alloc,
Transaction tran) |
static ResourcePool |
ResourcePoolFactoryImpl.newInstance(PoolInfo poolInfo,
ConnectorConstants.PoolType pt,
Hashtable env) |
void |
PoolManagerImpl.reconfigPoolProperties(ConnectorConnectionPool ccp) |
void |
PoolManager.reconfigPoolProperties(ConnectorConnectionPool ccp) |
void |
ResourcePool.reconfigurePool(ConnectorConnectionPool ccp) |
void |
ConnectionPool.reconfigurePool(ConnectorConnectionPool poolResource)
Reconfigure the Pool's properties.
|
protected void |
ConnectionPool.reconfigureSteadyPoolSize(int oldSteadyPoolSize,
int newSteadyPoolSize) |
protected void |
UnpooledResource.reconfigureSteadyPoolSize(int oldSteadyPoolSize,
int newSteadyPoolSize) |
void |
PoolManagerImpl.registerResource(ResourceHandle handle) |
| Constructor and Description |
|---|
AssocWithThreadResourcePool(PoolInfo poolInfo,
Hashtable env) |
ConnectionPool(PoolInfo poolInfo,
Hashtable env) |
UnpooledResource(PoolInfo poolInfo,
Hashtable env)
Creates a new instance of UnpooledResourcePool
|
| Modifier and Type | Method and Description |
|---|---|
int |
RWLockDataStructure.addResource(ResourceAllocator allocator,
int count)
creates a new resource and adds to the datastructure.
|
int |
ListDataStructure.addResource(ResourceAllocator allocator,
int count)
creates a new resource and adds to the datastructure.
|
int |
DataStructure.addResource(ResourceAllocator allocator,
int count)
creates a new resource and adds to the datastructure.
|
static DataStructure |
DataStructureFactory.getDataStructure(String className,
String parameters,
int maxPoolSize,
ResourceHandler handler,
String strategyClass) |
| Modifier and Type | Method and Description |
|---|---|
static PoolWaitQueue |
PoolWaitQueueFactory.createPoolWaitQueue(String className) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
ResourceManagerImpl.enlist(JavaEETransactionManager tm,
Transaction tran,
ResourceHandle h) |
void |
NoTxResourceManagerImpl.enlistResource(ResourceHandle h)
Enlist the
ResourceHandle in the transaction
This implementation of the method is expected to be a no-op |
void |
ResourceManager.enlistResource(ResourceHandle h)
Enlist the Resource handle to the transaction.
|
void |
ResourceManagerImpl.enlistResource(ResourceHandle h)
Enlist the
ResourceHandle in the transaction |
void |
SystemResourceManagerImpl.enlistResource(ResourceHandle handle)
Register the
ResourceHandle in the transaction |
Transaction |
NoTxResourceManagerImpl.getTransaction()
Returns null since this connection is outside any tx context
|
Transaction |
ResourceManager.getTransaction()
Returns the current Transaction, resource should be dealing with.
|
Transaction |
ResourceManagerImpl.getTransaction()
Returns the transaction component is participating.
|
Transaction |
SystemResourceManagerImpl.getTransaction()
Returns the transaction component is participating.
|
void |
NoTxResourceManagerImpl.registerResource(ResourceHandle handle)
Register the
ResourceHandle in the transaction
This implementation of the method is expected to be a no-op |
void |
LazyEnlistableResourceManagerImpl.registerResource(ResourceHandle handle)
Overridden to suspend lazyenlistment.
|
void |
ResourceManager.registerResource(ResourceHandle handle)
Register the resource for a transaction's house keeping activities.
|
void |
ResourceManagerImpl.registerResource(ResourceHandle handle)
Register the
ResourceHandle in the transaction |
void |
SystemResourceManagerImpl.registerResource(ResourceHandle handle)
Dont do any thing for System Resource.
|
Copyright © 2017. All rights reserved.