public class SQLStateManagerFactory extends GenericObjectPoolConfiguration implements StateManagerFactory
Constructor and Description |
---|
SQLStateManagerFactory() |
Modifier and Type | Method and Description |
---|---|
<Z,D extends Database<Z>> |
createStateManager(DatabaseCluster<Z,D> cluster) |
String |
getId() |
String |
getPassword() |
String |
getUrlPattern() |
String |
getUser() |
void |
setPassword(String password) |
void |
setUrlPattern(String urlPattern) |
void |
setUser(String user) |
getMaxActive, getMaxIdle, getMaxWait, getMinEvictableIdleTimeMillis, getMinIdle, getNumTestsPerEvictionRun, getSoftMinEvictableIdleTimeMillis, getTimeBetweenEvictionRunsMillis, getWhenExhaustedAction, isLifo, isTestOnBorrow, isTestOnReturn, isTestWhileIdle, setLifo, setMaxActive, setMaxIdle, setMaxWait, setMinEvictableIdleTimeMillis, setMinIdle, setNumTestsPerEvictionRun, setSoftMinEvictableIdleTimeMillis, setTestOnBorrow, setTestOnReturn, setTestWhileIdle, setTimeBetweenEvictionRunsMillis, setWhenExhaustedAction, toConfig
public SQLStateManagerFactory()
public String getId()
getId
in interface Identifiable
public <Z,D extends Database<Z>> StateManager createStateManager(DatabaseCluster<Z,D> cluster)
createStateManager
in interface StateManagerFactory
StateManagerFactory.createStateManager(net.sf.hajdbc.DatabaseCluster)
public String getUrlPattern()
public void setUrlPattern(String urlPattern)
public String getPassword()
public void setPassword(String password)
Copyright © 2004–2014 Paul Ferraro. All rights reserved.