suspend fun ServiceDiscovery.getRecordAwait(filter: JsonObject): Record? suspend fun ServiceDiscovery.getRecordAwait(filter: Function<Record, Boolean>): Record? suspend fun ServiceDiscovery.getRecordAwait(filter: Function<Record, Boolean>, includeOutOfService: Boolean): Record?
Lookups for a single record. |
|
suspend fun ServiceDiscovery.getRecordsAwait(filter: JsonObject): List<Record> suspend fun ServiceDiscovery.getRecordsAwait(filter: Function<Record, Boolean>): List<Record> suspend fun ServiceDiscovery.getRecordsAwait(filter: Function<Record, Boolean>, includeOutOfService: Boolean): List<Record>
Lookups for a set of records. Unlike io.vertx.servicediscovery.ServiceDiscovery, this method returns all matching records. |
|
suspend fun ServiceDiscovery.publishAwait(record: Record): Record
Publishes a record. |
|
suspend fun ServiceDiscovery.unpublishAwait(id: String): Unit
Un-publishes a record. |
|
suspend fun ServiceDiscovery.updateAwait(record: Record): Record
Updates the given record. The record must has been published, and has it's registration id set. |