public interface LoadBalancerStrategy<S extends ClientRequest> extends Serializable
| Modifier and Type | Interface and Description |
|---|---|
static class |
LoadBalancerStrategy.STRATEGY_TYPE |
| Modifier and Type | Field and Description |
|---|---|
static ThreadLocal<Throwable> |
lastKnownErrorThreadLocal |
| Modifier and Type | Method and Description |
|---|---|
List<InternalServerProxy> |
getServerProxies() |
InternalServerProxy |
getServerProxy(S request) |
Throwable |
handleException(String apiName,
InternalServerProxy serverProxy,
Throwable throwable) |
void |
handleNullserverProxy(String apiName,
Throwable lastCaugtException) |
void |
setServerProxies(List<InternalServerProxy> serverProxies)
set a list of objects to be invoked by the orchestrator.
|
static final ThreadLocal<Throwable> lastKnownErrorThreadLocal
void setServerProxies(List<InternalServerProxy> serverProxies)
serverProxies - list of server objects to be invoked by the orchestrator.InternalServerProxy getServerProxy(S request)
List<InternalServerProxy> getServerProxies()
Throwable handleException(String apiName, InternalServerProxy serverProxy, Throwable throwable)
Copyright © 2015 Cisco. All rights reserved.