| |
|
| java.lang.Object org.apache.cxf.clustering.AbstractStaticFailoverStrategy
All known Subclasses: org.apache.cxf.clustering.SequentialStrategy, org.apache.cxf.clustering.RandomStrategy,
AbstractStaticFailoverStrategy | abstract public class AbstractStaticFailoverStrategy implements FailoverStrategy(Code) | | Failover strategy based on a static cluster represented by
multiple endpoints associated with the same service instance.
|
getAlternateEndpoints | public List<Endpoint> getAlternateEndpoints(Exchange exchange)(Code) | | Get the alternate endpoints for this invocation.
Parameters: exchange - the current Exchange a List of alternate endpoints if available |
getNextAlternate | abstract protected Endpoint getNextAlternate(List<Endpoint> alternates)(Code) | | Get next alternate endpoint.
Parameters: alternates - non-empty List of alternate endpoints |
selectAlternateEndpoint | public Endpoint selectAlternateEndpoint(List<Endpoint> alternates)(Code) | | Select one of the alternate endpoints for a retried invocation.
Parameters: a - List of alternate endpoints if available the selected endpoint |
|
|
|