vertx-lang-scala-docs_2.12 3.4.0 API < Back
 

# Packages

-  package root
  Definition Classes
    root
-  package io
  Definition Classes
    root
-  package vertx
  Definition Classes
    io
-  package scala
  Definition Classes
    vertx
-  package servicediscovery
  Definition Classes
    scala
-  package spi
  Definition Classes
    servicediscovery
-  package types
  Definition Classes
    servicediscovery
- Record
- ServiceDiscovery
- ServiceDiscoveryOptions
- ServiceReference

c

io.vertx.scala.servicediscovery

# Record 

###
Companion object Record

#### class Record extends AnyRef

Describes a `service`. The record is the only piece of information shared between consumer and provider. It should contains enough metadata to let consumer find the service they want.

Linear Supertypes
AnyRef, Any
 
Ordering

1. Alphabetic
2. By Inheritance

Inherited

1. Record
2. AnyRef
3. Any

1. Hide All
2. Show All

Visibility

1. Public
2. All

### Instance Constructors

1.  new Record(_asJava: servicediscovery.Record)

### Value Members

1.  final def !=(arg0: Any): Boolean
   Definition Classes
     AnyRef → Any
2.  final def ##(): Int
   Definition Classes
     AnyRef → Any
3.  final def ==(arg0: Any): Boolean
   Definition Classes
     AnyRef → Any
4.  final def asInstanceOf[T0]: T0
   Definition Classes
     Any
5.  def asJava: servicediscovery.Record
6.  def clone(): AnyRef
   Attributes
     protected[java.lang]
   Definition Classes
     AnyRef
   Annotations
     @throws( ... )
7.  final def eq(arg0: AnyRef): Boolean
   Definition Classes
     AnyRef
8.  def equals(arg0: Any): Boolean
   Definition Classes
     AnyRef → Any
9.  def finalize(): Unit
   Attributes
     protected[java.lang]
   Definition Classes
     AnyRef
   Annotations
     @throws( classOf[java.lang.Throwable] )
10.  final def getClass(): Class[_]
    Definition Classes
      AnyRef → Any
11.  def getLocation: JsonObject
12.  def getMetadata: JsonObject
13.  def getName: String
14.  def getRegistration: String
15.  def getStatus: Status
16.  def getType: String
17.  def hashCode(): Int
    Definition Classes
      AnyRef → Any
18.  final def isInstanceOf[T0]: Boolean
    Definition Classes
      Any
19.  final def ne(arg0: AnyRef): Boolean
    Definition Classes
      AnyRef
20.  final def notify(): Unit
    Definition Classes
      AnyRef
21.  final def notifyAll(): Unit
    Definition Classes
      AnyRef
22.  def setLocation(value: JsonObject): Record

    Sets the json object describing the location of the service.

    Sets the json object describing the location of the service. By convention, this json object should contain the Record entry.

23.  def setMetadata(value: JsonObject): Record

    Gets the metadata attached to the record.

24.  def setName(value: String): Record

    Sets the name of the service.

    Sets the name of the service. It can reflect the service name of the name of the provider.

25.  def setRegistration(value: String): Record

    Sets the registration id.

    Sets the registration id. This method is called when the service is published.

26.  def setStatus(value: Status): Record

    Sets the status of the service.

    Sets the status of the service. When published, the status is set to. When withdrawn, the status is set to .

27.  def setType(value: String): Record

    Sets the type of service.

28.  final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
      AnyRef
29.  def toString(): String
    Definition Classes
      AnyRef → Any
30.  final def wait(): Unit
    Definition Classes
      AnyRef
    Annotations
      @throws( ... )
31.  final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
      AnyRef
    Annotations
      @throws( ... )
32.  final def wait(arg0: Long): Unit
    Definition Classes
      AnyRef
    Annotations
      @throws( ... )

### Inherited from AnyRef

### Inherited from Any

### Ungrouped