public class DemoDbConnectionPool extends java.lang.Object implements ConnectionPoolConfig
Constructor and Description |
---|
DemoDbConnectionPool(java.lang.String jdbcUrl,
java.lang.Long datasourceId,
java.lang.String datasourceName) |
Modifier and Type | Method and Description |
---|---|
boolean |
canChangeReadOnlyFlagAfterConnectionCreation()
Some dbs, e.g.
|
java.lang.Long |
getDatasourceId() |
java.lang.String |
getDatasourceName() |
java.lang.String |
getDriver() |
java.util.Properties |
getJdbcProperties() |
java.lang.String |
getJdbcUrl() |
java.util.Date |
getLastUpdated() |
java.lang.String |
getPassword() |
java.util.Properties |
getProperties() |
java.lang.String |
getUsername() |
boolean |
isMightChange() |
boolean |
isPoolable() |
public DemoDbConnectionPool(java.lang.String jdbcUrl, java.lang.Long datasourceId, java.lang.String datasourceName)
public java.lang.String getDriver()
getDriver
in interface ConnectionPoolConfig
public java.lang.String getUsername()
getUsername
in interface ConnectionPoolConfig
public java.lang.String getPassword()
getPassword
in interface ConnectionPoolConfig
public java.lang.String getJdbcUrl()
getJdbcUrl
in interface ConnectionPoolConfig
public boolean isPoolable()
isPoolable
in interface ConnectionPoolConfig
public boolean isMightChange()
isMightChange
in interface ConnectionPoolConfig
public java.util.Properties getProperties()
getProperties
in interface ConnectionPoolConfig
public java.util.Date getLastUpdated()
getLastUpdated
in interface ConnectionPoolConfig
public java.util.Properties getJdbcProperties()
getJdbcProperties
in interface ConnectionPoolConfig
public java.lang.Long getDatasourceId()
getDatasourceId
in interface ConnectionPoolConfig
public java.lang.String getDatasourceName()
getDatasourceName
in interface ConnectionPoolConfig
public boolean canChangeReadOnlyFlagAfterConnectionCreation()
ConnectionPoolConfig
canChangeReadOnlyFlagAfterConnectionCreation
in interface ConnectionPoolConfig