public class RibbonLoadBalancerContext
extends com.netflix.loadbalancer.LoadBalancerContext
Constructor and Description |
---|
RibbonLoadBalancerContext(com.netflix.loadbalancer.ILoadBalancer lb) |
RibbonLoadBalancerContext(com.netflix.loadbalancer.ILoadBalancer lb,
com.netflix.client.config.IClientConfig clientConfig) |
RibbonLoadBalancerContext(com.netflix.loadbalancer.ILoadBalancer lb,
com.netflix.client.config.IClientConfig clientConfig,
com.netflix.client.RetryHandler handler) |
Modifier and Type | Method and Description |
---|---|
com.netflix.servo.monitor.Timer |
getExecuteTracer() |
void |
noteOpenConnection(com.netflix.loadbalancer.ServerStats serverStats) |
void |
noteRequestCompletion(com.netflix.loadbalancer.ServerStats stats,
Object response,
Throwable e,
long responseTime) |
void |
noteRequestCompletion(com.netflix.loadbalancer.ServerStats stats,
Object response,
Throwable e,
long responseTime,
com.netflix.client.RetryHandler errorHandler) |
deriveHostAndPortFromVipAddress, deriveSchemeAndPortFromPartialUri, generateNIWSException, getClientName, getDeepestCause, getDefaultPortFromScheme, getLoadBalancer, getMaxAutoRetries, getMaxAutoRetriesNextServer, getNumberRetriesOnSameServer, getRetriesNextServer, getRetryHandler, getServerFromLoadBalancer, getServerStats, handleSameServerRetry, initWithNiwsConfig, isOkToRetryOnAllOperations, noteError, noteResponse, reconstructURIWithServer, setLoadBalancer, setMaxAutoRetries, setMaxAutoRetriesNextServer, setOkToRetryOnAllOperations, setRetryHandler
public RibbonLoadBalancerContext(com.netflix.loadbalancer.ILoadBalancer lb)
public RibbonLoadBalancerContext(com.netflix.loadbalancer.ILoadBalancer lb, com.netflix.client.config.IClientConfig clientConfig)
public RibbonLoadBalancerContext(com.netflix.loadbalancer.ILoadBalancer lb, com.netflix.client.config.IClientConfig clientConfig, com.netflix.client.RetryHandler handler)
public void noteOpenConnection(com.netflix.loadbalancer.ServerStats serverStats)
noteOpenConnection
in class com.netflix.loadbalancer.LoadBalancerContext
public com.netflix.servo.monitor.Timer getExecuteTracer()
getExecuteTracer
in class com.netflix.loadbalancer.LoadBalancerContext
public void noteRequestCompletion(com.netflix.loadbalancer.ServerStats stats, Object response, Throwable e, long responseTime)
noteRequestCompletion
in class com.netflix.loadbalancer.LoadBalancerContext
Copyright © 2017 Pivotal Software, Inc.. All rights reserved.