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.
- Alphabetic
- By Inheritance
- Record
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
- new Record(_asJava: servicediscovery.Record)
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
- def asJava: servicediscovery.Record
-
def
clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- def getLocation: JsonObject
- def getMetadata: JsonObject
- def getName: String
- def getRegistration: String
- def getStatus: Status
- def getType: String
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
-
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.
-
def
setMetadata(value: JsonObject): Record
Gets the metadata attached to the record.
-
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.
-
def
setRegistration(value: String): Record
Sets the registration id.
Sets the registration id. This method is called when the service is published.
-
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 .
-
def
setType(value: String): Record
Sets the type of service.
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )