open class MongoDataSource
NOTE: This class has been automatically generated from the io.vertx.servicediscovery.types.MongoDataSource non RX-ified interface using Vert.x codegen.
MongoDataSource(delegate: MongoDataSource) |
static val __TYPE_ARG: TypeArg<MongoDataSource> |
open static fun createRecord(name: String, location: JsonObject, metadata: JsonObject): Record
Convenient method to create a record for a Mongo data source. |
|
open fun equals(other: Any?): Boolean |
|
open fun getDelegate(): MongoDataSource |
|
open static fun getMongoClient(discovery: ServiceDiscovery, filter: JsonObject, resultHandler: Handler<AsyncResult<MongoClient>>): Unitopen static fun getMongoClient(discovery: ServiceDiscovery, filter: Function<Record, Boolean>, resultHandler: Handler<AsyncResult<MongoClient>>): Unitopen static fun getMongoClient(discovery: ServiceDiscovery, filter: JsonObject, consumerConfiguration: JsonObject, resultHandler: Handler<AsyncResult<MongoClient>>): Unit
Convenient method that looks for a Mongo datasource source and provides the configured io.vertx.reactivex.ext.mongo.MongoClient. The async result is marked as failed is there are no matching services, or if the lookup fails. |
|
open fun hashCode(): Int |
|
open static fun newInstance(arg: MongoDataSource): MongoDataSource |
|
open static fun rxGetMongoClient(discovery: ServiceDiscovery, filter: JsonObject): Single<MongoClient>open static fun rxGetMongoClient(discovery: ServiceDiscovery, filter: Function<Record, Boolean>): Single<MongoClient>open static fun rxGetMongoClient(discovery: ServiceDiscovery, filter: JsonObject, consumerConfiguration: JsonObject): Single<MongoClient>
Convenient method that looks for a Mongo datasource source and provides the configured io.vertx.reactivex.ext.mongo.MongoClient. The async result is marked as failed is there are no matching services, or if the lookup fails. |
|
open fun toString(): String |