Modifier and Type | Field and Description |
---|---|
private javax.sql.DataSource |
dataSource |
private static org.slf4j.Logger |
log |
private boolean |
slave |
Constructor and Description |
---|
EPDataSource(javax.sql.DataSource dataSource,
boolean slave) |
Modifier and Type | Method and Description |
---|---|
void |
close()
it closes only inactive connections
|
javax.sql.DataSource |
getDataSource() |
boolean |
isSlave() |