public class RibbonServer
extends com.netflix.loadbalancer.Server
ServiceInstance
interface to Ribbon's Server
class.Constructor and Description |
---|
RibbonServer(io.micronaut.discovery.ServiceInstance instance)
Consructor.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getHost() |
com.netflix.loadbalancer.Server.MetaInfo |
getMetaInfo() |
int |
getPort() |
java.lang.String |
getScheme() |
public RibbonServer(io.micronaut.discovery.ServiceInstance instance)
instance
- serviceInstancepublic java.lang.String getHost()
getHost
in class com.netflix.loadbalancer.Server
public int getPort()
getPort
in class com.netflix.loadbalancer.Server
public java.lang.String getScheme()
getScheme
in class com.netflix.loadbalancer.Server
public com.netflix.loadbalancer.Server.MetaInfo getMetaInfo()
getMetaInfo
in class com.netflix.loadbalancer.Server