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