public class PooledDataSourceRegistry extends ReentrantReadWriteLock
Modifier and Type | Class and Description |
---|---|
static interface |
PooledDataSourceRegistry.Factory |
static interface |
PooledDataSourceRegistry.PooledDataSource |
ReentrantReadWriteLock.ReadLock, ReentrantReadWriteLock.WriteLock
Constructor and Description |
---|
PooledDataSourceRegistry() |
Modifier and Type | Method and Description |
---|---|
void |
createAlias(String name,
PooledDataSourceRegistry.PooledDataSource pool) |
DataSource |
getOrCreatePool(Object obj,
Name objectName,
Context nameCtx,
Hashtable<?,?> env) |
<T> T |
getPool(String name,
Class<T> type) |
getQueueLength, getReadHoldCount, getReadLockCount, getWaitQueueLength, getWriteHoldCount, hasQueuedThread, hasQueuedThreads, hasWaiters, isFair, isWriteLocked, isWriteLockedByCurrentThread, readLock, toString, writeLock
public DataSource getOrCreatePool(Object obj, Name objectName, Context nameCtx, Hashtable<?,?> env)
public void createAlias(String name, PooledDataSourceRegistry.PooledDataSource pool)
Copyright © 2015 Nuxeo SA. All rights reserved.