@DefunctConfig(value={"db.host","db.port","db.database","db.ssl.enabled"}) public class MySqlDataSourceConfig extends ManagedDataSourceConfig<MySqlDataSourceConfig>
| Constructor and Description |
|---|
MySqlDataSourceConfig() |
| Modifier and Type | Method and Description |
|---|---|
int |
getDefaultFetchSize()
Gets the default fetch size for all connection.
|
MySqlDataSourceConfig |
setDefaultFetchSize(int defaultFetchSize)
Sets the default fetch size for all connection.
|
getMaxConnections, getMaxConnectionWait, setMaxConnections, setMaxConnectionWaitpublic int getDefaultFetchSize()
@Config(value="db.fetch-size") public MySqlDataSourceConfig setDefaultFetchSize(int defaultFetchSize)
Copyright © 2010–2019 Airlift. All rights reserved.