public class JDBCDataSource extends Object
original
non RX-ified interface using Vert.x codegen.Modifier and Type | Field and Description |
---|---|
static TypeArg<JDBCDataSource> |
__TYPE_ARG |
static String |
TYPE |
static String |
UNKNOWN
Unknown type.
|
Constructor and Description |
---|
JDBCDataSource(io.vertx.servicediscovery.types.JDBCDataSource delegate) |
Modifier and Type | Method and Description |
---|---|
static io.vertx.servicediscovery.Record |
createRecord(String name,
io.vertx.core.json.JsonObject location,
io.vertx.core.json.JsonObject metadata) |
boolean |
equals(Object o) |
io.vertx.servicediscovery.types.JDBCDataSource |
getDelegate() |
static void |
getJDBCClient(ServiceDiscovery discovery,
Function<io.vertx.servicediscovery.Record,Boolean> filter,
io.vertx.core.Handler<io.vertx.core.AsyncResult<JDBCClient>> resultHandler)
Convenient method that looks for a JDBC datasource source and provides the configured
JDBCClient . |
static void |
getJDBCClient(ServiceDiscovery discovery,
Function<io.vertx.servicediscovery.Record,Boolean> filter,
io.vertx.core.json.JsonObject consumerConfiguration,
io.vertx.core.Handler<io.vertx.core.AsyncResult<JDBCClient>> resultHandler)
Convenient method that looks for a JDBC datasource source and provides the configured
JDBCClient . |
static void |
getJDBCClient(ServiceDiscovery discovery,
io.vertx.core.json.JsonObject filter,
io.vertx.core.Handler<io.vertx.core.AsyncResult<JDBCClient>> resultHandler)
Convenient method that looks for a JDBC datasource source and provides the configured
JDBCClient . |
static void |
getJDBCClient(ServiceDiscovery discovery,
io.vertx.core.json.JsonObject filter,
io.vertx.core.json.JsonObject consumerConfiguration,
io.vertx.core.Handler<io.vertx.core.AsyncResult<JDBCClient>> resultHandler)
Convenient method that looks for a JDBC datasource source and provides the configured
JDBCClient . |
int |
hashCode() |
static JDBCDataSource |
newInstance(io.vertx.servicediscovery.types.JDBCDataSource arg) |
static rx.Single<JDBCClient> |
rxGetJDBCClient(ServiceDiscovery discovery,
Function<io.vertx.servicediscovery.Record,Boolean> filter)
Convenient method that looks for a JDBC datasource source and provides the configured
JDBCClient . |
static rx.Single<JDBCClient> |
rxGetJDBCClient(ServiceDiscovery discovery,
Function<io.vertx.servicediscovery.Record,Boolean> filter,
io.vertx.core.json.JsonObject consumerConfiguration)
Convenient method that looks for a JDBC datasource source and provides the configured
JDBCClient . |
static rx.Single<JDBCClient> |
rxGetJDBCClient(ServiceDiscovery discovery,
io.vertx.core.json.JsonObject filter)
Convenient method that looks for a JDBC datasource source and provides the configured
JDBCClient . |
static rx.Single<JDBCClient> |
rxGetJDBCClient(ServiceDiscovery discovery,
io.vertx.core.json.JsonObject filter,
io.vertx.core.json.JsonObject consumerConfiguration)
Convenient method that looks for a JDBC datasource source and provides the configured
JDBCClient . |
String |
toString() |
public static final TypeArg<JDBCDataSource> __TYPE_ARG
public static final String UNKNOWN
public static final String TYPE
public JDBCDataSource(io.vertx.servicediscovery.types.JDBCDataSource delegate)
public io.vertx.servicediscovery.types.JDBCDataSource getDelegate()
public static io.vertx.servicediscovery.Record createRecord(String name, io.vertx.core.json.JsonObject location, io.vertx.core.json.JsonObject metadata)
public static void getJDBCClient(ServiceDiscovery discovery, io.vertx.core.json.JsonObject filter, io.vertx.core.Handler<io.vertx.core.AsyncResult<JDBCClient>> resultHandler)
JDBCClient
. The
async result is marked as failed is there are no matching services, or if the lookup fails.discovery
- The service discovery instancefilter
- The filter, optionalresultHandler
- The result handlerpublic static rx.Single<JDBCClient> rxGetJDBCClient(ServiceDiscovery discovery, io.vertx.core.json.JsonObject filter)
JDBCClient
. The
async result is marked as failed is there are no matching services, or if the lookup fails.discovery
- The service discovery instancefilter
- The filter, optionalpublic static void getJDBCClient(ServiceDiscovery discovery, Function<io.vertx.servicediscovery.Record,Boolean> filter, io.vertx.core.Handler<io.vertx.core.AsyncResult<JDBCClient>> resultHandler)
JDBCClient
. The
async result is marked as failed is there are no matching services, or if the lookup fails.discovery
- The service discovery instancefilter
- The filter (must not be null
)resultHandler
- The result handlerpublic static rx.Single<JDBCClient> rxGetJDBCClient(ServiceDiscovery discovery, Function<io.vertx.servicediscovery.Record,Boolean> filter)
JDBCClient
. The
async result is marked as failed is there are no matching services, or if the lookup fails.discovery
- The service discovery instancefilter
- The filter (must not be null
)public static void getJDBCClient(ServiceDiscovery discovery, io.vertx.core.json.JsonObject filter, io.vertx.core.json.JsonObject consumerConfiguration, io.vertx.core.Handler<io.vertx.core.AsyncResult<JDBCClient>> resultHandler)
JDBCClient
. The
async result is marked as failed is there are no matching services, or if the lookup fails.discovery
- The service discovery instancefilter
- The filter, optionalconsumerConfiguration
- the consumer configurationresultHandler
- the result handlerpublic static rx.Single<JDBCClient> rxGetJDBCClient(ServiceDiscovery discovery, io.vertx.core.json.JsonObject filter, io.vertx.core.json.JsonObject consumerConfiguration)
JDBCClient
. The
async result is marked as failed is there are no matching services, or if the lookup fails.discovery
- The service discovery instancefilter
- The filter, optionalconsumerConfiguration
- the consumer configurationpublic static void getJDBCClient(ServiceDiscovery discovery, Function<io.vertx.servicediscovery.Record,Boolean> filter, io.vertx.core.json.JsonObject consumerConfiguration, io.vertx.core.Handler<io.vertx.core.AsyncResult<JDBCClient>> resultHandler)
JDBCClient
. The
async result is marked as failed is there are no matching services, or if the lookup fails.discovery
- The service discovery instancefilter
- The filter, must not be null
consumerConfiguration
- the consumer configurationresultHandler
- the result handlerpublic static rx.Single<JDBCClient> rxGetJDBCClient(ServiceDiscovery discovery, Function<io.vertx.servicediscovery.Record,Boolean> filter, io.vertx.core.json.JsonObject consumerConfiguration)
JDBCClient
. The
async result is marked as failed is there are no matching services, or if the lookup fails.discovery
- The service discovery instancefilter
- The filter, must not be null
consumerConfiguration
- the consumer configurationpublic static JDBCDataSource newInstance(io.vertx.servicediscovery.types.JDBCDataSource arg)
Copyright © 2019 Eclipse. All rights reserved.