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 RecordServiceReference. 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(Function<Record,Boolean> filter)Lookups for a single record.Future<Record>ServiceDiscovery. getRecord(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(Function<Record,Boolean> filter)Lookups for a set of records.Future<List<Record>>ServiceDiscovery. getRecords(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(Function<Record,Boolean> filter)Lookups for a single record.Maybe<Record>ServiceDiscovery. rxGetRecord(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(Function<Record,Boolean> filter)Lookups for a set of records.Single<List<Record>>ServiceDiscovery. rxGetRecords(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 ServiceReferenceServiceDiscovery. getReference(Record record)Gets a service reference from the given record.ServiceReferenceServiceDiscovery. 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(Function<Record,Boolean> filter)Lookups for a single record.Future<Record>ServiceDiscovery. getRecord(Function<Record,Boolean> filter, boolean includeOutOfService)Lookups for a single record.Future<List<Record>>ServiceDiscovery. getRecords(Function<Record,Boolean> filter)Lookups for a set of records.Future<List<Record>>ServiceDiscovery. getRecords(Function<Record,Boolean> filter, boolean includeOutOfService)Lookups for a set of records.Maybe<Record>ServiceDiscovery. rxGetRecord(Function<Record,Boolean> filter)Lookups for a single record.Maybe<Record>ServiceDiscovery. rxGetRecord(Function<Record,Boolean> filter, boolean includeOutOfService)Lookups for a single record.Single<List<Record>>ServiceDiscovery. rxGetRecords(Function<Record,Boolean> filter)Lookups for a set of records.Single<List<Record>>ServiceDiscovery. rxGetRecords(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 voidServiceExporter. onPublish(Record record)Notify a new record has been published, the record's registration can be used to uniquely identify the recordvoidServiceExporter. 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 RecordEventBusService. createRecord(String name, String address, String classname)Creates a record based on the parameters.static RecordEventBusService. createRecord(String name, String address, String itf, JsonObject metadata)Sugar method to creates a record for this type.static RecordHttpEndpoint. 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 RecordHttpEndpoint. 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 RecordHttpEndpoint. 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 RecordHttpEndpoint. createRecord(String name, String host, int port, String root, JsonObject metadata)Convenient method to create a record for a HTTP endpoint.static RecordMessageSource. 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 RecordMessageSource. 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 RecordMessageSource. createRecord(String name, String address, String type, JsonObject metadata)Create a record representing a data producer.static RecordMongoDataSource. createRecord(String name, JsonObject location, JsonObject metadata)Convenient method to create a record for a Mongo data source.static RecordRedisDataSource. 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, Function<Record,Boolean> filter)Convenient method that looks for a HTTP endpoint and provides the configured .static Future<HttpClient>HttpEndpoint. getClient(ServiceDiscovery discovery, 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, Function<Record,Boolean> filter)Convenient method that looks for a message source and provides the configured .static Future<MongoClient>MongoDataSource. getMongoClient(ServiceDiscovery discovery, Function<Record,Boolean> filter)Convenient method that looks for a Mongo datasource source and provides the configuredMongoClient.static Future<Redis>RedisDataSource. getRedisClient(ServiceDiscovery discovery, Function<Record,Boolean> filter)Convenient method that looks for a Redis data source and provides the configuredRedis.static Future<Redis>RedisDataSource. getRedisClient(ServiceDiscovery discovery, 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, 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, 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, Function<Record,Boolean> filter)Convenient method that looks for a HTTP endpoint and provides the configured .static Future<WebClient>HttpEndpoint. getWebClient(ServiceDiscovery discovery, 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, Function<Record,Boolean> filter)Convenient method that looks for a HTTP endpoint and provides the configured .static Single<HttpClient>HttpEndpoint. rxGetClient(ServiceDiscovery discovery, 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, Function<Record,Boolean> filter)Convenient method that looks for a message source and provides the configured .static Single<MongoClient>MongoDataSource. rxGetMongoClient(ServiceDiscovery discovery, Function<Record,Boolean> filter)Convenient method that looks for a Mongo datasource source and provides the configuredMongoClient.static Single<Redis>RedisDataSource. rxGetRedisClient(ServiceDiscovery discovery, Function<Record,Boolean> filter)Convenient method that looks for a Redis data source and provides the configuredRedis.static Single<Redis>RedisDataSource. rxGetRedisClient(ServiceDiscovery discovery, 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, 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, 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, Function<Record,Boolean> filter)Convenient method that looks for a HTTP endpoint and provides the configured .static Single<WebClient>HttpEndpoint. rxGetWebClient(ServiceDiscovery discovery, 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 RecordServiceReference. 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(Function<Record,Boolean> filter)Lookups for a single record.Maybe<Record>ServiceDiscovery. getRecord(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(Function<Record,Boolean> filter)Lookups for a set of records.Single<List<Record>>ServiceDiscovery. getRecords(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(Function<Record,Boolean> filter)Lookups for a single record.Maybe<Record>ServiceDiscovery. rxGetRecord(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(Function<Record,Boolean> filter)Lookups for a set of records.Single<List<Record>>ServiceDiscovery. rxGetRecords(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 ServiceReferenceServiceDiscovery. getReference(Record record)Gets a service reference from the given record.ServiceReferenceServiceDiscovery. 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(Function<Record,Boolean> filter)Lookups for a single record.Maybe<Record>ServiceDiscovery. getRecord(Function<Record,Boolean> filter, boolean includeOutOfService)Lookups for a single record.Single<List<Record>>ServiceDiscovery. getRecords(Function<Record,Boolean> filter)Lookups for a set of records.Single<List<Record>>ServiceDiscovery. getRecords(Function<Record,Boolean> filter, boolean includeOutOfService)Lookups for a set of records.Maybe<Record>ServiceDiscovery. rxGetRecord(Function<Record,Boolean> filter)Lookups for a single record.Maybe<Record>ServiceDiscovery. rxGetRecord(Function<Record,Boolean> filter, boolean includeOutOfService)Lookups for a single record.Single<List<Record>>ServiceDiscovery. rxGetRecords(Function<Record,Boolean> filter)Lookups for a set of records.Single<List<Record>>ServiceDiscovery. rxGetRecords(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 voidServiceExporter. onPublish(Record record)Notify a new record has been published, the record's registration can be used to uniquely identify the recordvoidServiceExporter. 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 RecordEventBusService. createRecord(String name, String address, String classname)Creates a record based on the parameters.static RecordEventBusService. createRecord(String name, String address, String itf, JsonObject metadata)Sugar method to creates a record for this type.static RecordHttpEndpoint. 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 RecordHttpEndpoint. 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 RecordHttpEndpoint. 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 RecordHttpEndpoint. createRecord(String name, String host, int port, String root, JsonObject metadata)Convenient method to create a record for a HTTP endpoint.static RecordMessageSource. 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 RecordMessageSource. 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 RecordMessageSource. createRecord(String name, String address, String type, JsonObject metadata)Create a record representing a data producer.static RecordMongoDataSource. createRecord(String name, JsonObject location, JsonObject metadata)Convenient method to create a record for a Mongo data source.static RecordRedisDataSource. 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, Function<Record,Boolean> filter)Convenient method that looks for a HTTP endpoint and provides the configured .static Single<HttpClient>HttpEndpoint. getClient(ServiceDiscovery discovery, 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, Function<Record,Boolean> filter)Convenient method that looks for a message source and provides the configured .static Single<MongoClient>MongoDataSource. getMongoClient(ServiceDiscovery discovery, Function<Record,Boolean> filter)Convenient method that looks for a Mongo datasource source and provides the configuredMongoClient.static Single<Redis>RedisDataSource. getRedisClient(ServiceDiscovery discovery, Function<Record,Boolean> filter)Convenient method that looks for a Redis data source and provides the configuredRedis.static Single<Redis>RedisDataSource. getRedisClient(ServiceDiscovery discovery, 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, 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, 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, Function<Record,Boolean> filter)Convenient method that looks for a HTTP endpoint and provides the configured .static Single<WebClient>HttpEndpoint. getWebClient(ServiceDiscovery discovery, 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, Function<Record,Boolean> filter)Convenient method that looks for a HTTP endpoint and provides the configured .static Single<HttpClient>HttpEndpoint. rxGetClient(ServiceDiscovery discovery, 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, Function<Record,Boolean> filter)Convenient method that looks for a message source and provides the configured .static Single<MongoClient>MongoDataSource. rxGetMongoClient(ServiceDiscovery discovery, Function<Record,Boolean> filter)Convenient method that looks for a Mongo datasource source and provides the configuredMongoClient.static Single<Redis>RedisDataSource. rxGetRedisClient(ServiceDiscovery discovery, Function<Record,Boolean> filter)Convenient method that looks for a Redis data source and provides the configuredRedis.static Single<Redis>RedisDataSource. rxGetRedisClient(ServiceDiscovery discovery, 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, 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, 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, Function<Record,Boolean> filter)Convenient method that looks for a HTTP endpoint and provides the configured .static Single<WebClient>HttpEndpoint. rxGetWebClient(ServiceDiscovery discovery, 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 RecordServiceReference. record()RecordRecord. setLocation(JsonObject location)Sets the json object describing the location of the service.RecordRecord. setMetadata(JsonObject metadata)RecordRecord. setName(String name)Sets the name of the service.RecordRecord. setRegistration(String reg)Sets the registration id.RecordRecord. setStatus(Status status)Sets the status of the service.RecordRecord. 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(Function<Record,Boolean> filter)Lookups for a single record.Future<Record>ServiceDiscovery. getRecord(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(Function<Record,Boolean> filter)Lookups for a set of records.Future<List<Record>>ServiceDiscovery. getRecords(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 ServiceReferenceServiceDiscovery. getReference(Record record)Gets a service reference from the given record.ServiceReferenceServiceDiscovery. 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(Function<Record,Boolean> filter)Lookups for a single record.Future<Record>ServiceDiscovery. getRecord(Function<Record,Boolean> filter, boolean includeOutOfService)Lookups for a single record.Future<List<Record>>ServiceDiscovery. getRecords(Function<Record,Boolean> filter)Lookups for a set of records.Future<List<Record>>ServiceDiscovery. getRecords(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 voidRedisBackendService. remove(Record record, Handler<AsyncResult<Record>> resultHandler)voidRedisBackendService. store(Record record, Handler<AsyncResult<Record>> resultHandler)voidRedisBackendService. 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 voidRedisBackendService. getRecord(String uuid, Handler<AsyncResult<Record>> resultHandler)voidRedisBackendService. getRecords(Handler<AsyncResult<List<Record>>> resultHandler)voidRedisBackendService. remove(Record record, Handler<AsyncResult<Record>> resultHandler)voidRedisBackendService. remove(String uuid, Handler<AsyncResult<Record>> resultHandler)voidRedisBackendService. 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 ServiceReferenceServiceType. get(Vertx vertx, ServiceDiscovery discovery, Record record, JsonObject configuration)Gets the `service` for the given record.voidServiceExporter. onPublish(Record record)Notify a new record has been published, the record's registration can be used to uniquely identify the recordvoidServiceExporter. 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.voidServiceDiscoveryBackend. remove(Record record, Handler<AsyncResult<Record>> resultHandler)Removes a record.voidServiceDiscoveryBackend. store(Record record, Handler<AsyncResult<Record>> resultHandler)Stores a record.voidServiceDiscoveryBackend. 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 voidServiceDiscoveryBackend. getRecord(String uuid, Handler<AsyncResult<Record>> resultHandler)Get the record with the given uuid.voidServiceDiscoveryBackend. getRecords(Handler<AsyncResult<List<Record>>> resultHandler)Gets all the recordsvoidServiceDiscoveryBackend. remove(Record record, Handler<AsyncResult<Record>> resultHandler)Removes a record.voidServiceDiscoveryBackend. remove(String uuid, Handler<AsyncResult<Record>> resultHandler)Removes a records based on its UUID.voidServiceDiscoveryBackend. 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 RecordEventBusService. createRecord(String name, String address, Class itf)Same asEventBusService.createRecord(String, String, Class, JsonObject)but without metadata.static RecordEventBusService. createRecord(String name, String address, Class itf, JsonObject metadata)Sugar method to creates a record for this type.static RecordEventBusService. createRecord(String name, String address, String classname)Creates a record based on the parameters.static RecordEventBusService. createRecord(String name, String address, String itf, JsonObject metadata)Sugar method to creates a record for this type.static RecordHttpEndpoint. 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 RecordHttpEndpoint. 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 RecordHttpEndpoint. createRecord(String name, String host, int port, String root)Same asHttpEndpoint.createRecord(String, String, int, String, JsonObject)but without metadata.static RecordHttpEndpoint. createRecord(String name, String host, int port, String root, JsonObject metadata)Convenient method to create a record for a HTTP endpoint.static RecordMessageSource. createRecord(String name, String address)Same asMessageSource.createRecord(String, String, Class, JsonObject)without additional metadata, and no type for the payload.static RecordMessageSource. createRecord(String name, String address, Class type)Same asMessageSource.createRecord(String, String, Class, JsonObject)without additional metadata.static RecordMessageSource. createRecord(String name, String address, Class type, JsonObject metadata)Create a record representing a data producer.static RecordMessageSource. createRecord(String name, String address, String type)Same asMessageSource.createRecord(String, String, String, JsonObject)without additional metadata.static RecordMessageSource. createRecord(String name, String address, String type, JsonObject metadata)Create a record representing a data producer.static RecordMongoDataSource. createRecord(String name, JsonObject location, JsonObject metadata)Convenient method to create a record for a Mongo data source.static RecordRedisDataSource. createRecord(String name, JsonObject location, JsonObject metadata)Convenient method to create a record for a Redis data source.RecordAbstractServiceReference. 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, Function<Record,Boolean> filter)Convenient method that looks for a HTTP endpoint and provides the configuredHttpClient.static Future<HttpClient>HttpEndpoint. getClient(ServiceDiscovery discovery, 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, Function<Record,Boolean> filter)Convenient method that looks for a message source and provides the configuredMessageConsumer.static Future<MongoClient>MongoDataSource. getMongoClient(ServiceDiscovery discovery, Function<Record,Boolean> filter)Convenient method that looks for a Mongo datasource source and provides the configuredMongoClient.static Future<Redis>RedisDataSource. getRedisClient(ServiceDiscovery discovery, Function<Record,Boolean> filter)Convenient method that looks for a Redis data source and provides the configuredRedis.static Future<Redis>RedisDataSource. getRedisClient(ServiceDiscovery discovery, 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, 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, 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, Function<Record,Boolean> filter)Convenient method that looks for a HTTP endpoint and provides the configuredWebClient.static Future<WebClient>HttpEndpoint. getWebClient(ServiceDiscovery discovery, 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.
-