- get() - Method in interface io.vertx.servicediscovery.ServiceReference
-
Gets the object to access the service.
- get(Vertx, ServiceDiscovery, Record, JsonObject) - Method in interface io.vertx.servicediscovery.spi.ServiceType
-
Gets the `service` for the given record.
- get() - Method in class io.vertx.servicediscovery.types.AbstractServiceReference
-
Gets the service object.
- getAnnounceAddress() - Method in class io.vertx.servicediscovery.ServiceDiscoveryOptions
-
- getAs(Class<X>) - Method in interface io.vertx.servicediscovery.ServiceReference
-
Gets the object to access the service.
- getAs(Class<X>) - Method in class io.vertx.servicediscovery.types.AbstractServiceReference
-
Gets the service object.
- getBackendConfiguration() - Method in class io.vertx.servicediscovery.ServiceDiscoveryOptions
-
- getClient(ServiceDiscovery, JsonObject, Handler<AsyncResult<HttpClient>>) - Static method in interface io.vertx.servicediscovery.types.HttpEndpoint
-
Convenient method that looks for a HTTP endpoint and provides the configured HttpClient
.
- getClient(ServiceDiscovery, JsonObject, JsonObject, Handler<AsyncResult<HttpClient>>) - Static method in interface io.vertx.servicediscovery.types.HttpEndpoint
-
Convenient method that looks for a HTTP endpoint and provides the configured HttpClient
.
- getClient(ServiceDiscovery, Function<Record, Boolean>, Handler<AsyncResult<HttpClient>>) - Static method in interface io.vertx.servicediscovery.types.HttpEndpoint
-
Convenient method that looks for a HTTP endpoint and provides the configured HttpClient
.
- getClient(ServiceDiscovery, Function<Record, Boolean>, JsonObject, Handler<AsyncResult<HttpClient>>) - Static method in interface io.vertx.servicediscovery.types.HttpEndpoint
-
Convenient method that looks for a HTTP endpoint and provides the configured HttpClient
.
- getConsumer(ServiceDiscovery, JsonObject, Handler<AsyncResult<MessageConsumer<T>>>) - Static method in interface io.vertx.servicediscovery.types.MessageSource
-
Convenient method that looks for a message source and provides the configured MessageConsumer
.
- getConsumer(ServiceDiscovery, Function<Record, Boolean>, Handler<AsyncResult<MessageConsumer<T>>>) - Static method in interface io.vertx.servicediscovery.types.MessageSource
-
Convenient method that looks for a message source and provides the configured MessageConsumer
.
- getEndpoint() - Method in class io.vertx.servicediscovery.types.HttpLocation
-
- getHost() - Method in class io.vertx.servicediscovery.types.HttpLocation
-
- getJDBCClient(ServiceDiscovery, JsonObject, Handler<AsyncResult<JDBCClient>>) - Static method in interface io.vertx.servicediscovery.types.JDBCDataSource
-
Convenient method that looks for a JDBC datasource source and provides the configured JDBCClient
.
- getJDBCClient(ServiceDiscovery, Function<Record, Boolean>, Handler<AsyncResult<JDBCClient>>) - Static method in interface io.vertx.servicediscovery.types.JDBCDataSource
-
Convenient method that looks for a JDBC datasource source and provides the configured JDBCClient
.
- getJDBCClient(ServiceDiscovery, JsonObject, JsonObject, Handler<AsyncResult<JDBCClient>>) - Static method in interface io.vertx.servicediscovery.types.JDBCDataSource
-
Convenient method that looks for a JDBC datasource source and provides the configured JDBCClient
.
- getJDBCClient(ServiceDiscovery, Function<Record, Boolean>, JsonObject, Handler<AsyncResult<JDBCClient>>) - Static method in interface io.vertx.servicediscovery.types.JDBCDataSource
-
Convenient method that looks for a JDBC datasource source and provides the configured JDBCClient
.
- getLocation() - Method in class io.vertx.servicediscovery.Record
-
- getMetadata() - Method in class io.vertx.servicediscovery.Record
-
Gets the metadata attached to the record.
- getMongoClient(ServiceDiscovery, JsonObject, Handler<AsyncResult<MongoClient>>) - Static method in interface io.vertx.servicediscovery.types.MongoDataSource
-
Convenient method that looks for a Mongo datasource source and provides the configured MongoClient
.
- getMongoClient(ServiceDiscovery, Function<Record, Boolean>, Handler<AsyncResult<MongoClient>>) - Static method in interface io.vertx.servicediscovery.types.MongoDataSource
-
Convenient method that looks for a Mongo datasource source and provides the configured
MongoClient
.
- getMongoClient(ServiceDiscovery, JsonObject, JsonObject, Handler<AsyncResult<MongoClient>>) - Static method in interface io.vertx.servicediscovery.types.MongoDataSource
-
Convenient method that looks for a Mongo datasource source and provides the configured MongoClient
.
- getName() - Method in class io.vertx.servicediscovery.Record
-
Gets the name of the service.
- getName() - Method in class io.vertx.servicediscovery.ServiceDiscoveryOptions
-
Gets the service discovery name used in service usage events.
- getPort() - Method in class io.vertx.servicediscovery.types.HttpLocation
-
- getProxy(ServiceDiscovery, Class<T>, Handler<AsyncResult<T>>) - Static method in interface io.vertx.servicediscovery.types.EventBusService
-
Lookup for a service record and if found, retrieve it and return the service object (used to consume the service).
- getRecord(JsonObject, Handler<AsyncResult<Record>>) - Method in interface io.vertx.servicediscovery.ServiceDiscovery
-
Lookups for a single record.
- getRecord(Function<Record, Boolean>, Handler<AsyncResult<Record>>) - Method in interface io.vertx.servicediscovery.ServiceDiscovery
-
Lookups for a single record.
- getRecord(Function<Record, Boolean>, boolean, Handler<AsyncResult<Record>>) - Method in interface io.vertx.servicediscovery.ServiceDiscovery
-
Lookups for a single record.
- getRecord(String, Handler<AsyncResult<Record>>) - Method in interface io.vertx.servicediscovery.spi.ServiceDiscoveryBackend
-
Get the record with the given uuid.
- getRecords(JsonObject, Handler<AsyncResult<List<Record>>>) - Method in interface io.vertx.servicediscovery.ServiceDiscovery
-
Lookups for a set of records.
- getRecords(Function<Record, Boolean>, Handler<AsyncResult<List<Record>>>) - Method in interface io.vertx.servicediscovery.ServiceDiscovery
-
Lookups for a set of records.
- getRecords(Function<Record, Boolean>, boolean, Handler<AsyncResult<List<Record>>>) - Method in interface io.vertx.servicediscovery.ServiceDiscovery
-
Lookups for a set of records.
- getRecords(Handler<AsyncResult<List<Record>>>) - Method in interface io.vertx.servicediscovery.spi.ServiceDiscoveryBackend
-
Gets all the records
- getRedisClient(ServiceDiscovery, JsonObject, Handler<AsyncResult<RedisClient>>) - Static method in interface io.vertx.servicediscovery.types.RedisDataSource
-
Convenient method that looks for a Redis data source and provides the configured RedisClient
.
- getRedisClient(ServiceDiscovery, Function<Record, Boolean>, Handler<AsyncResult<RedisClient>>) - Static method in interface io.vertx.servicediscovery.types.RedisDataSource
-
Convenient method that looks for a Redis data source and provides the configured RedisClient
.
- getRedisClient(ServiceDiscovery, JsonObject, JsonObject, Handler<AsyncResult<RedisClient>>) - Static method in interface io.vertx.servicediscovery.types.RedisDataSource
-
Convenient method that looks for a Redis data source and provides the configured RedisClient
.
- getRedisClient(ServiceDiscovery, Function<Record, Boolean>, JsonObject, Handler<AsyncResult<RedisClient>>) - Static method in interface io.vertx.servicediscovery.types.RedisDataSource
-
Convenient method that looks for a Redis data source and provides the configured RedisClient
.
- getReference(Record) - Method in interface io.vertx.servicediscovery.ServiceDiscovery
-
Gets a service reference from the given record.
- getReferenceWithConfiguration(Record, JsonObject) - Method in interface io.vertx.servicediscovery.ServiceDiscovery
-
Gets a service reference from the given record, the reference is configured with the given json object.
- getRegistration() - Method in class io.vertx.servicediscovery.Record
-
Gets the registration id if any.
- getRoot() - Method in class io.vertx.servicediscovery.types.HttpLocation
-
- getServiceProxy(ServiceDiscovery, Function<Record, Boolean>, Class<T>, Handler<AsyncResult<T>>) - Static method in interface io.vertx.servicediscovery.types.EventBusService
-
Lookup for a service record and if found, retrieve it and return the service object (used to consume the service).
- getServiceProxyWithJsonFilter(ServiceDiscovery, JsonObject, Class<T>, Handler<AsyncResult<T>>) - Static method in interface io.vertx.servicediscovery.types.EventBusService
-
Lookup for a service record and if found, retrieve it and return the service object (used to consume the service).
- getStatus() - Method in class io.vertx.servicediscovery.Record
-
Gets the current status of the service.
- getType() - Method in class io.vertx.servicediscovery.Record
-
Gets the service type.
- getUsageAddress() - Method in class io.vertx.servicediscovery.ServiceDiscoveryOptions
-
- getWebClient(ServiceDiscovery, JsonObject, Handler<AsyncResult<WebClient>>) - Static method in interface io.vertx.servicediscovery.types.HttpEndpoint
-
Convenient method that looks for a HTTP endpoint and provides the configured .
- getWebClient(ServiceDiscovery, JsonObject, JsonObject, Handler<AsyncResult<WebClient>>) - Static method in interface io.vertx.servicediscovery.types.HttpEndpoint
-
Convenient method that looks for a HTTP endpoint and provides the configured WebClient
.
- getWebClient(ServiceDiscovery, Function<Record, Boolean>, Handler<AsyncResult<WebClient>>) - Static method in interface io.vertx.servicediscovery.types.HttpEndpoint
-
Convenient method that looks for a HTTP endpoint and provides the configured WebClient
.
- getWebClient(ServiceDiscovery, Function<Record, Boolean>, JsonObject, Handler<AsyncResult<WebClient>>) - Static method in interface io.vertx.servicediscovery.types.HttpEndpoint
-
Convenient method that looks for a HTTP endpoint and provides the configured WebClient
.
- service - Variable in class io.vertx.servicediscovery.types.AbstractServiceReference
-
- ServiceDiscovery - Interface in io.vertx.servicediscovery
-
Service Discovery main entry point.
- ServiceDiscoveryBackend - Interface in io.vertx.servicediscovery.spi
-
By default the service discovery uses a distributed map to store the records.
- ServiceDiscoveryOptions - Class in io.vertx.servicediscovery
-
Options to configure the service discovery.
- ServiceDiscoveryOptions() - Constructor for class io.vertx.servicediscovery.ServiceDiscoveryOptions
-
- ServiceDiscoveryOptions(ServiceDiscoveryOptions) - Constructor for class io.vertx.servicediscovery.ServiceDiscoveryOptions
-
- ServiceDiscoveryOptions(JsonObject) - Constructor for class io.vertx.servicediscovery.ServiceDiscoveryOptions
-
- ServiceDiscoveryOptionsConverter - Class in io.vertx.servicediscovery
-
- ServiceDiscoveryOptionsConverter() - Constructor for class io.vertx.servicediscovery.ServiceDiscoveryOptionsConverter
-
- ServiceDiscoveryRestEndpoint - Class in io.vertx.servicediscovery.rest
-
Allows publishing the vert.x service discovery as a REST endpoint.
- ServiceExporter - Interface in io.vertx.servicediscovery.spi
-
The service exporter allows integrate other discovery technologies with the Vert.x service discovery.
- ServiceImporter - Interface in io.vertx.servicediscovery.spi
-
The service importer allows integrate other discovery technologies with the Vert.x service discovery.
- ServicePublisher - Interface in io.vertx.servicediscovery.spi
-
The publisher is used by the importer to publish or unpublish records.
- ServiceReference - Interface in io.vertx.servicediscovery
-
Once a consumer has chosen a service, it builds a
ServiceReference
managing the binding with the chosen
service provider.
- ServiceType - Interface in io.vertx.servicediscovery.spi
-
Represents a service type.
- setAnnounceAddress(String) - Method in class io.vertx.servicediscovery.ServiceDiscoveryOptions
-
Sets the event bus address on which the service arrivals, departures and modifications are announced.
- setAutoRegistrationOfImporters(boolean) - Method in class io.vertx.servicediscovery.ServiceDiscoveryOptions
-
Sets whether or not the registration of importers declared as SPI is enabled.
- setBackendConfiguration(JsonObject) - Method in class io.vertx.servicediscovery.ServiceDiscoveryOptions
-
- setEndpoint(String) - Method in class io.vertx.servicediscovery.types.HttpLocation
-
Sets the endpoint, which is the URL of the service.
- setHost(String) - Method in class io.vertx.servicediscovery.types.HttpLocation
-
Sets the host.
- setLocation(JsonObject) - Method in class io.vertx.servicediscovery.Record
-
Sets the json object describing the location of the service.
- setMetadata(JsonObject) - Method in class io.vertx.servicediscovery.Record
-
- setName(String) - Method in class io.vertx.servicediscovery.Record
-
Sets the name of the service.
- setName(String) - Method in class io.vertx.servicediscovery.ServiceDiscoveryOptions
-
Sets the service discovery name used in the service usage events.
- setPort(int) - Method in class io.vertx.servicediscovery.types.HttpLocation
-
Sets the port
- setRegistration(String) - Method in class io.vertx.servicediscovery.Record
-
Sets the registration id.
- setRoot(String) - Method in class io.vertx.servicediscovery.types.HttpLocation
-
Sets the path of the service (root)
- setSsl(boolean) - Method in class io.vertx.servicediscovery.types.HttpLocation
-
Sets whether or not the HTTP service is using https
.
- setStatus(Status) - Method in class io.vertx.servicediscovery.Record
-
Sets the status of the service.
- setType(String) - Method in class io.vertx.servicediscovery.Record
-
Sets the type of service.
- setUsageAddress(String) - Method in class io.vertx.servicediscovery.ServiceDiscoveryOptions
-
Sets the usage address: the event bus address on which are sent the service usage events (bind / release).
- start(Vertx, ServicePublisher, JsonObject, Promise<Void>) - Method in interface io.vertx.servicediscovery.spi.ServiceImporter
-
Starts the importer.
- Status - Enum in io.vertx.servicediscovery
-
Service publication status.
- store(Record, Handler<AsyncResult<Record>>) - Method in interface io.vertx.servicediscovery.spi.ServiceDiscoveryBackend
-
Stores a record.