public class ConnectionFactoryImpl
extends org.datanucleus.store.connection.AbstractConnectionFactory
| Modifier and Type | Field and Description |
|---|---|
static String |
PROPERTY_CONNECTION_POOL_MIN_EVICTABLE_IDLE_TIME_MILLIS |
static String |
PROPERTY_CONNECTION_POOL_TIME_BETWEEN_EVICTOR_RUNS_MILLIS |
| Constructor and Description |
|---|
ConnectionFactoryImpl(org.datanucleus.store.StoreManager storeMgr,
String resourceType)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
org.datanucleus.store.connection.ManagedConnection |
createManagedConnection(org.datanucleus.ExecutionContext ec,
Map options)
Obtain a connection from the Factory.
|
public static final String PROPERTY_CONNECTION_POOL_TIME_BETWEEN_EVICTOR_RUNS_MILLIS
public static final String PROPERTY_CONNECTION_POOL_MIN_EVICTABLE_IDLE_TIME_MILLIS
public ConnectionFactoryImpl(org.datanucleus.store.StoreManager storeMgr,
String resourceType)
storeMgr - The contextresourceType - Type of resource (tx, nontx)public org.datanucleus.store.connection.ManagedConnection createManagedConnection(org.datanucleus.ExecutionContext ec,
Map options)
ec - the pool that is bound the connection during its lifecycle (or null)options - Any options for creating the connectionManagedConnectionCopyright © 2017. All rights reserved.