Oops... looks like the spiders padded through here
Add products to your cart and remove them from here Lets buypublic interface DatabaseConfiguration
| Modifier and Type | Method and Description |
|---|---|
String |
getAddress()
Returns the address of the database server.
|
long |
getConnectionTimeout()
Returns the maximum time to wait for a connection from the pool (in milliseconds).
|
long |
getFetchTimeout()
Returns the maximum time to wait for a database query (in milliseconds).
|
long |
getIdleTimeout()
Returns the maximum amount of time that a connection is allowed to sit idle in the pool (in milliseconds).
|
int |
getMaximumPoolSize()
Returns the maximum number of connections in the HikariCP connection pool.
|
long |
getMaxLifetime()
Returns the maximum lifetime of a connection in the HikariCP pool (in milliseconds).
|
int |
getMinimumIdle()
Returns the minimum number of idle connections in the HikariCP pool.
|
String |
getName()
Returns the name of the database.
|
String |
getPassword()
Returns the password for database authentication.
|
int |
getPort()
Returns the port on which the database server is listening.
|
String |
getTablePrefix()
Returns the prefix to use for table names.
|
String |
getType()
Returns the database type (e.g., "MYSQL", "SQLITE").
|
String |
getUsername()
Returns the username for database authentication.
|
static DatabaseConfiguration |
sqlite()
Returns a default SQLite database configuration.
|
static DatabaseConfiguration sqlite()
The default configuration uses:
DatabaseConfiguration instance with default SQLite settingsString getType()
String getAddress()
String getName()
int getPort()
String getUsername()
String getPassword()
String getTablePrefix()
int getMaximumPoolSize()
int getMinimumIdle()
long getIdleTimeout()
long getMaxLifetime()
long getConnectionTimeout()
long getFetchTimeout()
Oops... looks like the spiders padded through here
Add products to your cart and remove them from here Lets buy