@Value.Immutable public abstract class ServiceHealthKey extends Object
ServiceHealth entry in a ServiceHealthCache| Constructor and Description |
|---|
ServiceHealthKey() |
| Modifier and Type | Method and Description |
|---|---|
static ServiceHealthKey |
fromServiceHealth(ServiceHealth serviceHealth) |
abstract String |
getHost() |
abstract Integer |
getPort() |
abstract String |
getServiceId() |
static ServiceHealthKey |
of(String serviceId,
String host,
int port) |
public abstract String getServiceId()
public abstract String getHost()
public abstract Integer getPort()
public static ServiceHealthKey fromServiceHealth(ServiceHealth serviceHealth)
public static ServiceHealthKey of(String serviceId, String host, int port)
Copyright © 2018. All rights reserved.