Uses of Class
io.vertx.servicediscovery.Record
-
-
Uses of Record in io.vertx.reactivex.servicediscovery
Methods in io.vertx.reactivex.servicediscovery that return Record Modifier and Type Method Description Record
ServiceReference. record()
Methods in io.vertx.reactivex.servicediscovery that return types with arguments of type Record Modifier and Type Method Description Future<Record>
ServiceDiscovery. getRecord(JsonObject filter)
Lookups for a single record.Future<Record>
ServiceDiscovery. getRecord(String id)
Looks up for a single record by its registrationid
.Future<Record>
ServiceDiscovery. getRecord(java.util.function.Function<Record,Boolean> filter)
Lookups for a single record.Future<Record>
ServiceDiscovery. getRecord(java.util.function.Function<Record,Boolean> filter, boolean includeOutOfService)
Lookups for a single record.Future<List<Record>>
ServiceDiscovery. getRecords(JsonObject filter)
Lookups for a set of records.Future<List<Record>>
ServiceDiscovery. getRecords(java.util.function.Function<Record,Boolean> filter)
Lookups for a set of records.Future<List<Record>>
ServiceDiscovery. getRecords(java.util.function.Function<Record,Boolean> filter, boolean includeOutOfService)
Lookups for a set of records.Future<Record>
ServiceDiscovery. publish(Record record)
Publishes a record.Maybe<Record>
ServiceDiscovery. rxGetRecord(JsonObject filter)
Lookups for a single record.Maybe<Record>
ServiceDiscovery. rxGetRecord(String id)
Looks up for a single record by its registrationid
.Maybe<Record>
ServiceDiscovery. rxGetRecord(java.util.function.Function<Record,Boolean> filter)
Lookups for a single record.Maybe<Record>
ServiceDiscovery. rxGetRecord(java.util.function.Function<Record,Boolean> filter, boolean includeOutOfService)
Lookups for a single record.Single<List<Record>>
ServiceDiscovery. rxGetRecords(JsonObject filter)
Lookups for a set of records.Single<List<Record>>
ServiceDiscovery. rxGetRecords(java.util.function.Function<Record,Boolean> filter)
Lookups for a set of records.Single<List<Record>>
ServiceDiscovery. rxGetRecords(java.util.function.Function<Record,Boolean> filter, boolean includeOutOfService)
Lookups for a set of records.Single<Record>
ServiceDiscovery. rxPublish(Record record)
Publishes a record.Single<Record>
ServiceDiscovery. rxUpdate(Record record)
Updates the given record.Future<Record>
ServiceDiscovery. update(Record record)
Updates the given record.Methods in io.vertx.reactivex.servicediscovery with parameters of type Record Modifier and Type Method Description ServiceReference
ServiceDiscovery. getReference(Record record)
Gets a service reference from the given record.ServiceReference
ServiceDiscovery. getReferenceWithConfiguration(Record record, JsonObject configuration)
Gets a service reference from the given record, the reference is configured with the given json object.Future<Record>
ServiceDiscovery. publish(Record record)
Publishes a record.Single<Record>
ServiceDiscovery. rxPublish(Record record)
Publishes a record.Single<Record>
ServiceDiscovery. rxUpdate(Record record)
Updates the given record.Future<Record>
ServiceDiscovery. update(Record record)
Updates the given record.Method parameters in io.vertx.reactivex.servicediscovery with type arguments of type Record Modifier and Type Method Description Future<Record>
ServiceDiscovery. getRecord(java.util.function.Function<Record,Boolean> filter)
Lookups for a single record.Future<Record>
ServiceDiscovery. getRecord(java.util.function.Function<Record,Boolean> filter, boolean includeOutOfService)
Lookups for a single record.Future<List<Record>>
ServiceDiscovery. getRecords(java.util.function.Function<Record,Boolean> filter)
Lookups for a set of records.Future<List<Record>>
ServiceDiscovery. getRecords(java.util.function.Function<Record,Boolean> filter, boolean includeOutOfService)
Lookups for a set of records.Maybe<Record>
ServiceDiscovery. rxGetRecord(java.util.function.Function<Record,Boolean> filter)
Lookups for a single record.Maybe<Record>
ServiceDiscovery. rxGetRecord(java.util.function.Function<Record,Boolean> filter, boolean includeOutOfService)
Lookups for a single record.Single<List<Record>>
ServiceDiscovery. rxGetRecords(java.util.function.Function<Record,Boolean> filter)
Lookups for a set of records.Single<List<Record>>
ServiceDiscovery. rxGetRecords(java.util.function.Function<Record,Boolean> filter, boolean includeOutOfService)
Lookups for a set of records. -
Uses of Record in io.vertx.reactivex.servicediscovery.spi
Methods in io.vertx.reactivex.servicediscovery.spi that return types with arguments of type Record Modifier and Type Method Description Future<Record>
ServicePublisher. publish(Record record)
Publishes a record.Single<Record>
ServicePublisher. rxPublish(Record record)
Publishes a record.Single<Record>
ServicePublisher. rxUpdate(Record record)
Updates an existing record.Future<Record>
ServicePublisher. update(Record record)
Updates an existing record.Methods in io.vertx.reactivex.servicediscovery.spi with parameters of type Record Modifier and Type Method Description void
ServiceExporter. onPublish(Record record)
Notify a new record has been published, the record's registration can be used to uniquely identify the recordvoid
ServiceExporter. onUpdate(Record record)
Notify an existing record has been updated, the record's registration can be used to uniquely identify the recordFuture<Record>
ServicePublisher. publish(Record record)
Publishes a record.Single<Record>
ServicePublisher. rxPublish(Record record)
Publishes a record.Single<Record>
ServicePublisher. rxUpdate(Record record)
Updates an existing record.Future<Record>
ServicePublisher. update(Record record)
Updates an existing record. -
Uses of Record in io.vertx.reactivex.servicediscovery.types
Methods in io.vertx.reactivex.servicediscovery.types that return Record Modifier and Type Method Description static Record
EventBusService. createRecord(String name, String address, String classname)
Creates a record based on the parameters.static Record
EventBusService. createRecord(String name, String address, String itf, JsonObject metadata)
Sugar method to creates a record for this type.static Record
HttpEndpoint. createRecord(String name, boolean ssl, String host, int port, String root, JsonObject metadata)
Same asHttpEndpoint.createRecord(java.lang.String, java.lang.String, int, java.lang.String, io.vertx.core.json.JsonObject)
but let you configure whether or not the service is usinghttps
.static Record
HttpEndpoint. createRecord(String name, String host)
Same asHttpEndpoint.createRecord(java.lang.String, java.lang.String, int, java.lang.String, io.vertx.core.json.JsonObject)
but without metadata, using the port 80 and using "/" as root.static Record
HttpEndpoint. createRecord(String name, String host, int port, String root)
Same asHttpEndpoint.createRecord(java.lang.String, java.lang.String, int, java.lang.String, io.vertx.core.json.JsonObject)
but without metadata.static Record
HttpEndpoint. createRecord(String name, String host, int port, String root, JsonObject metadata)
Convenient method to create a record for a HTTP endpoint.static Record
MessageSource. createRecord(String name, String address)
Same asMessageSource.createRecord(java.lang.String, java.lang.String, java.lang.String, io.vertx.core.json.JsonObject)
without additional metadata, and no type for the payload.static Record
MessageSource. createRecord(String name, String address, String type)
Same asMessageSource.createRecord(java.lang.String, java.lang.String, java.lang.String, io.vertx.core.json.JsonObject)
without additional metadata.static Record
MessageSource. createRecord(String name, String address, String type, JsonObject metadata)
Create a record representing a data producer.static Record
MongoDataSource. createRecord(String name, JsonObject location, JsonObject metadata)
Convenient method to create a record for a Mongo data source.static Record
RedisDataSource. createRecord(String name, JsonObject location, JsonObject metadata)
Convenient method to create a record for a Redis data source.Method parameters in io.vertx.reactivex.servicediscovery.types with type arguments of type Record Modifier and Type Method Description static Future<HttpClient>
HttpEndpoint. getClient(ServiceDiscovery discovery, java.util.function.Function<Record,Boolean> filter)
Convenient method that looks for a HTTP endpoint and provides the configured .static Future<HttpClient>
HttpEndpoint. getClient(ServiceDiscovery discovery, java.util.function.Function<Record,Boolean> filter, JsonObject conf)
Convenient method that looks for a HTTP endpoint and provides the configured .static <T> Future<MessageConsumer<T>>
MessageSource. getConsumer(ServiceDiscovery discovery, java.util.function.Function<Record,Boolean> filter)
Convenient method that looks for a message source and provides the configured .static Future<MongoClient>
MongoDataSource. getMongoClient(ServiceDiscovery discovery, java.util.function.Function<Record,Boolean> filter)
Convenient method that looks for a Mongo datasource source and provides the configuredMongoClient
.static Future<Redis>
RedisDataSource. getRedisClient(ServiceDiscovery discovery, java.util.function.Function<Record,Boolean> filter)
Convenient method that looks for a Redis data source and provides the configuredRedis
.static Future<Redis>
RedisDataSource. getRedisClient(ServiceDiscovery discovery, java.util.function.Function<Record,Boolean> filter, JsonObject consumerConfiguration)
Convenient method that looks for a Redis data source and provides the configuredRedis
.static <T> Future<T>
EventBusService. getServiceProxy(ServiceDiscovery discovery, java.util.function.Function<Record,Boolean> filter, Class<T> clientClass)
Lookup for a service record and if found, retrieve it and return the service object (used to consume the service).static <T> Future<T>
EventBusService. getServiceProxy(ServiceDiscovery discovery, java.util.function.Function<Record,Boolean> filter, Class<T> clientClass, JsonObject conf)
Lookup for a service record and if found, retrieve it and return the service object (used to consume the service).static Future<WebClient>
HttpEndpoint. getWebClient(ServiceDiscovery discovery, java.util.function.Function<Record,Boolean> filter)
Convenient method that looks for a HTTP endpoint and provides the configured .static Future<WebClient>
HttpEndpoint. getWebClient(ServiceDiscovery discovery, java.util.function.Function<Record,Boolean> filter, JsonObject conf)
Convenient method that looks for a HTTP endpoint and provides the configured .static Single<HttpClient>
HttpEndpoint. rxGetClient(ServiceDiscovery discovery, java.util.function.Function<Record,Boolean> filter)
Convenient method that looks for a HTTP endpoint and provides the configured .static Single<HttpClient>
HttpEndpoint. rxGetClient(ServiceDiscovery discovery, java.util.function.Function<Record,Boolean> filter, JsonObject conf)
Convenient method that looks for a HTTP endpoint and provides the configured .static <T> Single<MessageConsumer<T>>
MessageSource. rxGetConsumer(ServiceDiscovery discovery, java.util.function.Function<Record,Boolean> filter)
Convenient method that looks for a message source and provides the configured .static Single<MongoClient>
MongoDataSource. rxGetMongoClient(ServiceDiscovery discovery, java.util.function.Function<Record,Boolean> filter)
Convenient method that looks for a Mongo datasource source and provides the configuredMongoClient
.static Single<Redis>
RedisDataSource. rxGetRedisClient(ServiceDiscovery discovery, java.util.function.Function<Record,Boolean> filter)
Convenient method that looks for a Redis data source and provides the configuredRedis
.static Single<Redis>
RedisDataSource. rxGetRedisClient(ServiceDiscovery discovery, java.util.function.Function<Record,Boolean> filter, JsonObject consumerConfiguration)
Convenient method that looks for a Redis data source and provides the configuredRedis
.static <T> Single<T>
EventBusService. rxGetServiceProxy(ServiceDiscovery discovery, java.util.function.Function<Record,Boolean> filter, Class<T> clientClass)
Lookup for a service record and if found, retrieve it and return the service object (used to consume the service).static <T> Single<T>
EventBusService. rxGetServiceProxy(ServiceDiscovery discovery, java.util.function.Function<Record,Boolean> filter, Class<T> clientClass, JsonObject conf)
Lookup for a service record and if found, retrieve it and return the service object (used to consume the service).static Single<WebClient>
HttpEndpoint. rxGetWebClient(ServiceDiscovery discovery, java.util.function.Function<Record,Boolean> filter)
Convenient method that looks for a HTTP endpoint and provides the configured .static Single<WebClient>
HttpEndpoint. rxGetWebClient(ServiceDiscovery discovery, java.util.function.Function<Record,Boolean> filter, JsonObject conf)
Convenient method that looks for a HTTP endpoint and provides the configured . -
Uses of Record in io.vertx.rxjava3.servicediscovery
Methods in io.vertx.rxjava3.servicediscovery that return Record Modifier and Type Method Description Record
ServiceReference. record()
Methods in io.vertx.rxjava3.servicediscovery that return types with arguments of type Record Modifier and Type Method Description Maybe<Record>
ServiceDiscovery. getRecord(JsonObject filter)
Lookups for a single record.Maybe<Record>
ServiceDiscovery. getRecord(String id)
Looks up for a single record by its registrationid
.Maybe<Record>
ServiceDiscovery. getRecord(java.util.function.Function<Record,Boolean> filter)
Lookups for a single record.Maybe<Record>
ServiceDiscovery. getRecord(java.util.function.Function<Record,Boolean> filter, boolean includeOutOfService)
Lookups for a single record.Single<List<Record>>
ServiceDiscovery. getRecords(JsonObject filter)
Lookups for a set of records.Single<List<Record>>
ServiceDiscovery. getRecords(java.util.function.Function<Record,Boolean> filter)
Lookups for a set of records.Single<List<Record>>
ServiceDiscovery. getRecords(java.util.function.Function<Record,Boolean> filter, boolean includeOutOfService)
Lookups for a set of records.Single<Record>
ServiceDiscovery. publish(Record record)
Publishes a record.Maybe<Record>
ServiceDiscovery. rxGetRecord(JsonObject filter)
Lookups for a single record.Maybe<Record>
ServiceDiscovery. rxGetRecord(String id)
Looks up for a single record by its registrationid
.Maybe<Record>
ServiceDiscovery. rxGetRecord(java.util.function.Function<Record,Boolean> filter)
Lookups for a single record.Maybe<Record>
ServiceDiscovery. rxGetRecord(java.util.function.Function<Record,Boolean> filter, boolean includeOutOfService)
Lookups for a single record.Single<List<Record>>
ServiceDiscovery. rxGetRecords(JsonObject filter)
Lookups for a set of records.Single<List<Record>>
ServiceDiscovery. rxGetRecords(java.util.function.Function<Record,Boolean> filter)
Lookups for a set of records.Single<List<Record>>
ServiceDiscovery. rxGetRecords(java.util.function.Function<Record,Boolean> filter, boolean includeOutOfService)
Lookups for a set of records.Single<Record>
ServiceDiscovery. rxPublish(Record record)
Publishes a record.Single<Record>
ServiceDiscovery. rxUpdate(Record record)
Updates the given record.Single<Record>
ServiceDiscovery. update(Record record)
Updates the given record.Methods in io.vertx.rxjava3.servicediscovery with parameters of type Record Modifier and Type Method Description ServiceReference
ServiceDiscovery. getReference(Record record)
Gets a service reference from the given record.ServiceReference
ServiceDiscovery. getReferenceWithConfiguration(Record record, JsonObject configuration)
Gets a service reference from the given record, the reference is configured with the given json object.Single<Record>
ServiceDiscovery. publish(Record record)
Publishes a record.Single<Record>
ServiceDiscovery. rxPublish(Record record)
Publishes a record.Single<Record>
ServiceDiscovery. rxUpdate(Record record)
Updates the given record.Single<Record>
ServiceDiscovery. update(Record record)
Updates the given record.Method parameters in io.vertx.rxjava3.servicediscovery with type arguments of type Record Modifier and Type Method Description Maybe<Record>
ServiceDiscovery. getRecord(java.util.function.Function<Record,Boolean> filter)
Lookups for a single record.Maybe<Record>
ServiceDiscovery. getRecord(java.util.function.Function<Record,Boolean> filter, boolean includeOutOfService)
Lookups for a single record.Single<List<Record>>
ServiceDiscovery. getRecords(java.util.function.Function<Record,Boolean> filter)
Lookups for a set of records.Single<List<Record>>
ServiceDiscovery. getRecords(java.util.function.Function<Record,Boolean> filter, boolean includeOutOfService)
Lookups for a set of records.Maybe<Record>
ServiceDiscovery. rxGetRecord(java.util.function.Function<Record,Boolean> filter)
Lookups for a single record.Maybe<Record>
ServiceDiscovery. rxGetRecord(java.util.function.Function<Record,Boolean> filter, boolean includeOutOfService)
Lookups for a single record.Single<List<Record>>
ServiceDiscovery. rxGetRecords(java.util.function.Function<Record,Boolean> filter)
Lookups for a set of records.Single<List<Record>>
ServiceDiscovery. rxGetRecords(java.util.function.Function<Record,Boolean> filter, boolean includeOutOfService)
Lookups for a set of records. -
Uses of Record in io.vertx.rxjava3.servicediscovery.spi
Methods in io.vertx.rxjava3.servicediscovery.spi that return types with arguments of type Record Modifier and Type Method Description Single<Record>
ServicePublisher. publish(Record record)
Publishes a record.Single<Record>
ServicePublisher. rxPublish(Record record)
Publishes a record.Single<Record>
ServicePublisher. rxUpdate(Record record)
Updates an existing record.Single<Record>
ServicePublisher. update(Record record)
Updates an existing record.Methods in io.vertx.rxjava3.servicediscovery.spi with parameters of type Record Modifier and Type Method Description void
ServiceExporter. onPublish(Record record)
Notify a new record has been published, the record's registration can be used to uniquely identify the recordvoid
ServiceExporter. onUpdate(Record record)
Notify an existing record has been updated, the record's registration can be used to uniquely identify the recordSingle<Record>
ServicePublisher. publish(Record record)
Publishes a record.Single<Record>
ServicePublisher. rxPublish(Record record)
Publishes a record.Single<Record>
ServicePublisher. rxUpdate(Record record)
Updates an existing record.Single<Record>
ServicePublisher. update(Record record)
Updates an existing record. -
Uses of Record in io.vertx.rxjava3.servicediscovery.types
Methods in io.vertx.rxjava3.servicediscovery.types that return Record Modifier and Type Method Description static Record
EventBusService. createRecord(String name, String address, String classname)
Creates a record based on the parameters.static Record
EventBusService. createRecord(String name, String address, String itf, JsonObject metadata)
Sugar method to creates a record for this type.static Record
HttpEndpoint. createRecord(String name, boolean ssl, String host, int port, String root, JsonObject metadata)
Same asHttpEndpoint.createRecord(java.lang.String, java.lang.String, int, java.lang.String, io.vertx.core.json.JsonObject)
but let you configure whether or not the service is usinghttps
.static Record
HttpEndpoint. createRecord(String name, String host)
Same asHttpEndpoint.createRecord(java.lang.String, java.lang.String, int, java.lang.String, io.vertx.core.json.JsonObject)
but without metadata, using the port 80 and using "/" as root.static Record
HttpEndpoint. createRecord(String name, String host, int port, String root)
Same asHttpEndpoint.createRecord(java.lang.String, java.lang.String, int, java.lang.String, io.vertx.core.json.JsonObject)
but without metadata.static Record
HttpEndpoint. createRecord(String name, String host, int port, String root, JsonObject metadata)
Convenient method to create a record for a HTTP endpoint.static Record
MessageSource. createRecord(String name, String address)
Same asMessageSource.createRecord(java.lang.String, java.lang.String, java.lang.String, io.vertx.core.json.JsonObject)
without additional metadata, and no type for the payload.static Record
MessageSource. createRecord(String name, String address, String type)
Same asMessageSource.createRecord(java.lang.String, java.lang.String, java.lang.String, io.vertx.core.json.JsonObject)
without additional metadata.static Record
MessageSource. createRecord(String name, String address, String type, JsonObject metadata)
Create a record representing a data producer.static Record
MongoDataSource. createRecord(String name, JsonObject location, JsonObject metadata)
Convenient method to create a record for a Mongo data source.static Record
RedisDataSource. createRecord(String name, JsonObject location, JsonObject metadata)
Convenient method to create a record for a Redis data source.Method parameters in io.vertx.rxjava3.servicediscovery.types with type arguments of type Record Modifier and Type Method Description static Single<HttpClient>
HttpEndpoint. getClient(ServiceDiscovery discovery, java.util.function.Function<Record,Boolean> filter)
Convenient method that looks for a HTTP endpoint and provides the configured .static Single<HttpClient>
HttpEndpoint. getClient(ServiceDiscovery discovery, java.util.function.Function<Record,Boolean> filter, JsonObject conf)
Convenient method that looks for a HTTP endpoint and provides the configured .static <T> Single<MessageConsumer<T>>
MessageSource. getConsumer(ServiceDiscovery discovery, java.util.function.Function<Record,Boolean> filter)
Convenient method that looks for a message source and provides the configured .static Single<MongoClient>
MongoDataSource. getMongoClient(ServiceDiscovery discovery, java.util.function.Function<Record,Boolean> filter)
Convenient method that looks for a Mongo datasource source and provides the configuredMongoClient
.static Single<Redis>
RedisDataSource. getRedisClient(ServiceDiscovery discovery, java.util.function.Function<Record,Boolean> filter)
Convenient method that looks for a Redis data source and provides the configuredRedis
.static Single<Redis>
RedisDataSource. getRedisClient(ServiceDiscovery discovery, java.util.function.Function<Record,Boolean> filter, JsonObject consumerConfiguration)
Convenient method that looks for a Redis data source and provides the configuredRedis
.static <T> Single<T>
EventBusService. getServiceProxy(ServiceDiscovery discovery, java.util.function.Function<Record,Boolean> filter, Class<T> clientClass)
Lookup for a service record and if found, retrieve it and return the service object (used to consume the service).static <T> Single<T>
EventBusService. getServiceProxy(ServiceDiscovery discovery, java.util.function.Function<Record,Boolean> filter, Class<T> clientClass, JsonObject conf)
Lookup for a service record and if found, retrieve it and return the service object (used to consume the service).static Single<WebClient>
HttpEndpoint. getWebClient(ServiceDiscovery discovery, java.util.function.Function<Record,Boolean> filter)
Convenient method that looks for a HTTP endpoint and provides the configured .static Single<WebClient>
HttpEndpoint. getWebClient(ServiceDiscovery discovery, java.util.function.Function<Record,Boolean> filter, JsonObject conf)
Convenient method that looks for a HTTP endpoint and provides the configured .static Single<HttpClient>
HttpEndpoint. rxGetClient(ServiceDiscovery discovery, java.util.function.Function<Record,Boolean> filter)
Convenient method that looks for a HTTP endpoint and provides the configured .static Single<HttpClient>
HttpEndpoint. rxGetClient(ServiceDiscovery discovery, java.util.function.Function<Record,Boolean> filter, JsonObject conf)
Convenient method that looks for a HTTP endpoint and provides the configured .static <T> Single<MessageConsumer<T>>
MessageSource. rxGetConsumer(ServiceDiscovery discovery, java.util.function.Function<Record,Boolean> filter)
Convenient method that looks for a message source and provides the configured .static Single<MongoClient>
MongoDataSource. rxGetMongoClient(ServiceDiscovery discovery, java.util.function.Function<Record,Boolean> filter)
Convenient method that looks for a Mongo datasource source and provides the configuredMongoClient
.static Single<Redis>
RedisDataSource. rxGetRedisClient(ServiceDiscovery discovery, java.util.function.Function<Record,Boolean> filter)
Convenient method that looks for a Redis data source and provides the configuredRedis
.static Single<Redis>
RedisDataSource. rxGetRedisClient(ServiceDiscovery discovery, java.util.function.Function<Record,Boolean> filter, JsonObject consumerConfiguration)
Convenient method that looks for a Redis data source and provides the configuredRedis
.static <T> Single<T>
EventBusService. rxGetServiceProxy(ServiceDiscovery discovery, java.util.function.Function<Record,Boolean> filter, Class<T> clientClass)
Lookup for a service record and if found, retrieve it and return the service object (used to consume the service).static <T> Single<T>
EventBusService. rxGetServiceProxy(ServiceDiscovery discovery, java.util.function.Function<Record,Boolean> filter, Class<T> clientClass, JsonObject conf)
Lookup for a service record and if found, retrieve it and return the service object (used to consume the service).static Single<WebClient>
HttpEndpoint. rxGetWebClient(ServiceDiscovery discovery, java.util.function.Function<Record,Boolean> filter)
Convenient method that looks for a HTTP endpoint and provides the configured .static Single<WebClient>
HttpEndpoint. rxGetWebClient(ServiceDiscovery discovery, java.util.function.Function<Record,Boolean> filter, JsonObject conf)
Convenient method that looks for a HTTP endpoint and provides the configured . -
Uses of Record in io.vertx.servicediscovery
Methods in io.vertx.servicediscovery that return Record Modifier and Type Method Description Record
ServiceReference. record()
Record
Record. setLocation(JsonObject location)
Sets the json object describing the location of the service.Record
Record. setMetadata(JsonObject metadata)
Record
Record. setName(String name)
Sets the name of the service.Record
Record. setRegistration(String reg)
Sets the registration id.Record
Record. setStatus(Status status)
Sets the status of the service.Record
Record. setType(String type)
Sets the type of service.Methods in io.vertx.servicediscovery that return types with arguments of type Record Modifier and Type Method Description Future<Record>
ServiceDiscovery. getRecord(JsonObject filter)
Lookups for a single record.Future<Record>
ServiceDiscovery. getRecord(String id)
Looks up for a single record by its registrationid
.Future<Record>
ServiceDiscovery. getRecord(java.util.function.Function<Record,Boolean> filter)
Lookups for a single record.Future<Record>
ServiceDiscovery. getRecord(java.util.function.Function<Record,Boolean> filter, boolean includeOutOfService)
Lookups for a single record.Future<List<Record>>
ServiceDiscovery. getRecords(JsonObject filter)
Lookups for a set of records.Future<List<Record>>
ServiceDiscovery. getRecords(java.util.function.Function<Record,Boolean> filter)
Lookups for a set of records.Future<List<Record>>
ServiceDiscovery. getRecords(java.util.function.Function<Record,Boolean> filter, boolean includeOutOfService)
Lookups for a set of records.Future<Record>
ServiceDiscovery. publish(Record record)
Publishes a record.Future<Record>
ServiceDiscovery. update(Record record)
Updates the given record.Methods in io.vertx.servicediscovery with parameters of type Record Modifier and Type Method Description ServiceReference
ServiceDiscovery. getReference(Record record)
Gets a service reference from the given record.ServiceReference
ServiceDiscovery. getReferenceWithConfiguration(Record record, JsonObject configuration)
Gets a service reference from the given record, the reference is configured with the given json object.Future<Record>
ServiceDiscovery. publish(Record record)
Publishes a record.Future<Record>
ServiceDiscovery. update(Record record)
Updates the given record.Method parameters in io.vertx.servicediscovery with type arguments of type Record Modifier and Type Method Description Future<Record>
ServiceDiscovery. getRecord(java.util.function.Function<Record,Boolean> filter)
Lookups for a single record.Future<Record>
ServiceDiscovery. getRecord(java.util.function.Function<Record,Boolean> filter, boolean includeOutOfService)
Lookups for a single record.Future<List<Record>>
ServiceDiscovery. getRecords(java.util.function.Function<Record,Boolean> filter)
Lookups for a set of records.Future<List<Record>>
ServiceDiscovery. getRecords(java.util.function.Function<Record,Boolean> filter, boolean includeOutOfService)
Lookups for a set of records.Constructors in io.vertx.servicediscovery with parameters of type Record Constructor Description Record(Record other)
-
Uses of Record in io.vertx.servicediscovery.backend.redis
Methods in io.vertx.servicediscovery.backend.redis with parameters of type Record Modifier and Type Method Description void
RedisBackendService. remove(Record record, Handler<AsyncResult<Record>> resultHandler)
void
RedisBackendService. store(Record record, Handler<AsyncResult<Record>> resultHandler)
void
RedisBackendService. update(Record record, Handler<AsyncResult<Void>> resultHandler)
Method parameters in io.vertx.servicediscovery.backend.redis with type arguments of type Record Modifier and Type Method Description void
RedisBackendService. getRecord(String uuid, Handler<AsyncResult<Record>> resultHandler)
void
RedisBackendService. getRecords(Handler<AsyncResult<List<Record>>> resultHandler)
void
RedisBackendService. remove(Record record, Handler<AsyncResult<Record>> resultHandler)
void
RedisBackendService. remove(String uuid, Handler<AsyncResult<Record>> resultHandler)
void
RedisBackendService. store(Record record, Handler<AsyncResult<Record>> resultHandler)
-
Uses of Record in io.vertx.servicediscovery.consul
Constructors in io.vertx.servicediscovery.consul with parameters of type Record Constructor Description ImportedConsulService(String name, String id, Record record)
Creates a new instance ofImportedConsulService
. -
Uses of Record in io.vertx.servicediscovery.spi
Methods in io.vertx.servicediscovery.spi that return types with arguments of type Record Modifier and Type Method Description Future<Record>
ServicePublisher. publish(Record record)
Publishes a record.Future<Record>
ServicePublisher. update(Record record)
Updates an existing record.Methods in io.vertx.servicediscovery.spi with parameters of type Record Modifier and Type Method Description ServiceReference
ServiceType. get(Vertx vertx, ServiceDiscovery discovery, Record record, JsonObject configuration)
Gets the `service` for the given record.void
ServiceExporter. onPublish(Record record)
Notify a new record has been published, the record's registration can be used to uniquely identify the recordvoid
ServiceExporter. onUpdate(Record record)
Notify an existing record has been updated, the record's registration can be used to uniquely identify the recordFuture<Record>
ServicePublisher. publish(Record record)
Publishes a record.void
ServiceDiscoveryBackend. remove(Record record, Handler<AsyncResult<Record>> resultHandler)
Removes a record.void
ServiceDiscoveryBackend. store(Record record, Handler<AsyncResult<Record>> resultHandler)
Stores a record.void
ServiceDiscoveryBackend. update(Record record, Handler<AsyncResult<Void>> resultHandler)
Updates a recordFuture<Record>
ServicePublisher. update(Record record)
Updates an existing record.Method parameters in io.vertx.servicediscovery.spi with type arguments of type Record Modifier and Type Method Description void
ServiceDiscoveryBackend. getRecord(String uuid, Handler<AsyncResult<Record>> resultHandler)
Get the record with the given uuid.void
ServiceDiscoveryBackend. getRecords(Handler<AsyncResult<List<Record>>> resultHandler)
Gets all the recordsvoid
ServiceDiscoveryBackend. remove(Record record, Handler<AsyncResult<Record>> resultHandler)
Removes a record.void
ServiceDiscoveryBackend. remove(String uuid, Handler<AsyncResult<Record>> resultHandler)
Removes a records based on its UUID.void
ServiceDiscoveryBackend. store(Record record, Handler<AsyncResult<Record>> resultHandler)
Stores a record. -
Uses of Record in io.vertx.servicediscovery.types
Methods in io.vertx.servicediscovery.types that return Record Modifier and Type Method Description static Record
EventBusService. createRecord(String name, String address, Class itf)
Same asEventBusService.createRecord(String, String, Class, JsonObject)
but without metadata.static Record
EventBusService. createRecord(String name, String address, Class itf, JsonObject metadata)
Sugar method to creates a record for this type.static Record
EventBusService. createRecord(String name, String address, String classname)
Creates a record based on the parameters.static Record
EventBusService. createRecord(String name, String address, String itf, JsonObject metadata)
Sugar method to creates a record for this type.static Record
HttpEndpoint. createRecord(String name, boolean ssl, String host, int port, String root, JsonObject metadata)
Same asHttpEndpoint.createRecord(String, String, int, String, JsonObject)
but let you configure whether or not the service is usinghttps
.static Record
HttpEndpoint. createRecord(String name, String host)
Same asHttpEndpoint.createRecord(String, String, int, String, JsonObject)
but without metadata, using the port 80 and using "/" as root.static Record
HttpEndpoint. createRecord(String name, String host, int port, String root)
Same asHttpEndpoint.createRecord(String, String, int, String, JsonObject)
but without metadata.static Record
HttpEndpoint. createRecord(String name, String host, int port, String root, JsonObject metadata)
Convenient method to create a record for a HTTP endpoint.static Record
MessageSource. createRecord(String name, String address)
Same asMessageSource.createRecord(String, String, Class, JsonObject)
without additional metadata, and no type for the payload.static Record
MessageSource. createRecord(String name, String address, Class type)
Same asMessageSource.createRecord(String, String, Class, JsonObject)
without additional metadata.static Record
MessageSource. createRecord(String name, String address, Class type, JsonObject metadata)
Create a record representing a data producer.static Record
MessageSource. createRecord(String name, String address, String type)
Same asMessageSource.createRecord(String, String, String, JsonObject)
without additional metadata.static Record
MessageSource. createRecord(String name, String address, String type, JsonObject metadata)
Create a record representing a data producer.static Record
MongoDataSource. createRecord(String name, JsonObject location, JsonObject metadata)
Convenient method to create a record for a Mongo data source.static Record
RedisDataSource. createRecord(String name, JsonObject location, JsonObject metadata)
Convenient method to create a record for a Redis data source.Record
AbstractServiceReference. record()
Method parameters in io.vertx.servicediscovery.types with type arguments of type Record Modifier and Type Method Description static Future<HttpClient>
HttpEndpoint. getClient(ServiceDiscovery discovery, java.util.function.Function<Record,Boolean> filter)
Convenient method that looks for a HTTP endpoint and provides the configuredHttpClient
.static Future<HttpClient>
HttpEndpoint. getClient(ServiceDiscovery discovery, java.util.function.Function<Record,Boolean> filter, JsonObject conf)
Convenient method that looks for a HTTP endpoint and provides the configuredHttpClient
.static <T> Future<MessageConsumer<T>>
MessageSource. getConsumer(ServiceDiscovery discovery, java.util.function.Function<Record,Boolean> filter)
Convenient method that looks for a message source and provides the configuredMessageConsumer
.static Future<MongoClient>
MongoDataSource. getMongoClient(ServiceDiscovery discovery, java.util.function.Function<Record,Boolean> filter)
Convenient method that looks for a Mongo datasource source and provides the configuredMongoClient
.static Future<Redis>
RedisDataSource. getRedisClient(ServiceDiscovery discovery, java.util.function.Function<Record,Boolean> filter)
Convenient method that looks for a Redis data source and provides the configuredRedis
.static Future<Redis>
RedisDataSource. getRedisClient(ServiceDiscovery discovery, java.util.function.Function<Record,Boolean> filter, JsonObject consumerConfiguration)
Convenient method that looks for a Redis data source and provides the configuredRedis
.static <T> Future<T>
EventBusService. getServiceProxy(ServiceDiscovery discovery, java.util.function.Function<Record,Boolean> filter, Class<T> clientClass)
Lookup for a service record and if found, retrieve it and return the service object (used to consume the service).static <T> Future<T>
EventBusService. getServiceProxy(ServiceDiscovery discovery, java.util.function.Function<Record,Boolean> filter, Class<T> clientClass, JsonObject conf)
Lookup for a service record and if found, retrieve it and return the service object (used to consume the service).static Future<WebClient>
HttpEndpoint. getWebClient(ServiceDiscovery discovery, java.util.function.Function<Record,Boolean> filter)
Convenient method that looks for a HTTP endpoint and provides the configuredWebClient
.static Future<WebClient>
HttpEndpoint. getWebClient(ServiceDiscovery discovery, java.util.function.Function<Record,Boolean> filter, JsonObject conf)
Convenient method that looks for a HTTP endpoint and provides the configuredWebClient
.Constructors in io.vertx.servicediscovery.types with parameters of type Record Constructor Description AbstractServiceReference(Vertx vertx, ServiceDiscovery discovery, Record record)
Creates a new instance ofAbstractServiceReference
.
-