public class JDBCConnectOptions extends Object
Constructor and Description |
---|
JDBCConnectOptions() |
JDBCConnectOptions(JsonObject json) |
Modifier and Type | Method and Description |
---|---|
int |
getConnectTimeout() |
String |
getDatabase() |
String |
getDataSourceImplementation() |
int |
getIdleTimeout() |
String |
getJdbcUrl() |
String |
getPassword() |
TracingPolicy |
getTracingPolicy() |
String |
getUser() |
boolean |
isMetricsEnabled() |
JDBCConnectOptions |
setConnectTimeout(int connectTimeout) |
JDBCConnectOptions |
setDatabase(String database) |
JDBCConnectOptions |
setDataSourceImplementation(String dataSourceImplementation) |
JDBCConnectOptions |
setIdleTimeout(int idleTimeout) |
JDBCConnectOptions |
setJdbcUrl(String jdbcUrl) |
JDBCConnectOptions |
setMetricsEnabled(boolean metricsEnabled) |
JDBCConnectOptions |
setPassword(String password) |
JDBCConnectOptions |
setTracingPolicy(TracingPolicy tracingPolicy)
Set the tracing policy for the client behavior when Vert.x has tracing enabled.
|
JDBCConnectOptions |
setUser(String user) |
JsonObject |
toJson() |
public JDBCConnectOptions()
public JDBCConnectOptions(JsonObject json)
public String getDataSourceImplementation()
public JDBCConnectOptions setDataSourceImplementation(String dataSourceImplementation)
public boolean isMetricsEnabled()
public JDBCConnectOptions setMetricsEnabled(boolean metricsEnabled)
public String getJdbcUrl()
public JDBCConnectOptions setJdbcUrl(String jdbcUrl)
public String getUser()
public JDBCConnectOptions setUser(String user)
public String getPassword()
public JDBCConnectOptions setPassword(String password)
public String getDatabase()
public JDBCConnectOptions setDatabase(String database)
public int getConnectTimeout()
public JDBCConnectOptions setConnectTimeout(int connectTimeout)
public int getIdleTimeout()
public JDBCConnectOptions setIdleTimeout(int idleTimeout)
public TracingPolicy getTracingPolicy()
public JDBCConnectOptions setTracingPolicy(TracingPolicy tracingPolicy)
tracingPolicy
- the tracing policypublic JsonObject toJson()
Copyright © 2021 Eclipse. All rights reserved.