Modifier and Type | Field and Description |
---|---|
static TypeArg<JDBCDataSource> |
__TYPE_ARG |
Constructor and Description |
---|
JDBCDataSource(JDBCDataSource delegate) |
Modifier and Type | Method and Description |
---|---|
static Record |
createRecord(String name,
JsonObject location,
JsonObject metadata) |
JDBCDataSource |
getDelegate() |
static void |
getJDBCClient(ServiceDiscovery discovery,
java.util.function.Function<Record,Boolean> filter,
Handler<AsyncResult<JDBCClient>> resultHandler)
Convenient method that looks for a JDBC datasource source and provides the configured
JDBCClient . |
static void |
getJDBCClient(ServiceDiscovery discovery,
java.util.function.Function<Record,Boolean> filter,
JsonObject consumerConfiguration,
Handler<AsyncResult<JDBCClient>> resultHandler)
Convenient method that looks for a JDBC datasource source and provides the configured
JDBCClient . |
static void |
getJDBCClient(ServiceDiscovery discovery,
JsonObject filter,
Handler<AsyncResult<JDBCClient>> resultHandler)
Convenient method that looks for a JDBC datasource source and provides the configured
JDBCClient . |
static void |
getJDBCClient(ServiceDiscovery discovery,
JsonObject filter,
JsonObject consumerConfiguration,
Handler<AsyncResult<JDBCClient>> resultHandler)
Convenient method that looks for a JDBC datasource source and provides the configured
JDBCClient . |
static rx.Observable<JDBCClient> |
getJDBCClientObservable(ServiceDiscovery discovery,
java.util.function.Function<Record,Boolean> filter)
|
static rx.Observable<JDBCClient> |
getJDBCClientObservable(ServiceDiscovery discovery,
java.util.function.Function<Record,Boolean> filter,
JsonObject consumerConfiguration)
|
static rx.Observable<JDBCClient> |
getJDBCClientObservable(ServiceDiscovery discovery,
JsonObject filter)
|
static rx.Observable<JDBCClient> |
getJDBCClientObservable(ServiceDiscovery discovery,
JsonObject filter,
JsonObject consumerConfiguration)
|
static JDBCDataSource |
newInstance(JDBCDataSource arg) |
static rx.Single<JDBCClient> |
rxGetJDBCClient(ServiceDiscovery discovery,
java.util.function.Function<Record,Boolean> filter)
Convenient method that looks for a JDBC datasource source and provides the configured
JDBCClient . |
static rx.Single<JDBCClient> |
rxGetJDBCClient(ServiceDiscovery discovery,
java.util.function.Function<Record,Boolean> filter,
JsonObject consumerConfiguration)
Convenient method that looks for a JDBC datasource source and provides the configured
JDBCClient . |
static rx.Single<JDBCClient> |
rxGetJDBCClient(ServiceDiscovery discovery,
JsonObject filter)
Convenient method that looks for a JDBC datasource source and provides the configured
JDBCClient . |
static rx.Single<JDBCClient> |
rxGetJDBCClient(ServiceDiscovery discovery,
JsonObject filter,
JsonObject consumerConfiguration)
Convenient method that looks for a JDBC datasource source and provides the configured
JDBCClient . |
public static final TypeArg<JDBCDataSource> __TYPE_ARG
public JDBCDataSource(JDBCDataSource delegate)
public JDBCDataSource getDelegate()
public static Record createRecord(String name, JsonObject location, JsonObject metadata)
public static void getJDBCClient(ServiceDiscovery discovery, JsonObject filter, Handler<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 handler@Deprecated public static rx.Observable<JDBCClient> getJDBCClientObservable(ServiceDiscovery discovery, JsonObject filter)
rxGetJDBCClient(io.vertx.rxjava.servicediscovery.ServiceDiscovery, io.vertx.core.json.JsonObject)
insteadJDBCClient
. 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 rx.Single<JDBCClient> rxGetJDBCClient(ServiceDiscovery discovery, 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, java.util.function.Function<Record,Boolean> filter, Handler<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 handler@Deprecated public static rx.Observable<JDBCClient> getJDBCClientObservable(ServiceDiscovery discovery, java.util.function.Function<Record,Boolean> filter)
rxGetJDBCClient(io.vertx.rxjava.servicediscovery.ServiceDiscovery, io.vertx.core.json.JsonObject)
insteadJDBCClient
. 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 rx.Single<JDBCClient> rxGetJDBCClient(ServiceDiscovery discovery, java.util.function.Function<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, JsonObject filter, JsonObject consumerConfiguration, Handler<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 handler@Deprecated public static rx.Observable<JDBCClient> getJDBCClientObservable(ServiceDiscovery discovery, JsonObject filter, JsonObject consumerConfiguration)
rxGetJDBCClient(io.vertx.rxjava.servicediscovery.ServiceDiscovery, io.vertx.core.json.JsonObject)
insteadJDBCClient
. 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 rx.Single<JDBCClient> rxGetJDBCClient(ServiceDiscovery discovery, JsonObject filter, 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, java.util.function.Function<Record,Boolean> filter, JsonObject consumerConfiguration, Handler<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 handler@Deprecated public static rx.Observable<JDBCClient> getJDBCClientObservable(ServiceDiscovery discovery, java.util.function.Function<Record,Boolean> filter, JsonObject consumerConfiguration)
rxGetJDBCClient(io.vertx.rxjava.servicediscovery.ServiceDiscovery, io.vertx.core.json.JsonObject)
insteadJDBCClient
. 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 rx.Single<JDBCClient> rxGetJDBCClient(ServiceDiscovery discovery, java.util.function.Function<Record,Boolean> filter, 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(JDBCDataSource arg)
Copyright © 2017. All rights reserved.