|
Apache CXF API | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.cxf.clustering.AbstractStaticFailoverStrategy
public abstract class AbstractStaticFailoverStrategy
Failover strategy based on a static cluster represented by multiple endpoints associated with the same service instance.
| Constructor Summary | |
|---|---|
AbstractStaticFailoverStrategy()
|
|
| Method Summary | |
|---|---|
java.util.List<Endpoint> |
getAlternateEndpoints(Exchange exchange)
Get the alternate endpoints for this invocation. |
protected abstract Endpoint |
getNextAlternate(java.util.List<Endpoint> alternates)
Get next alternate endpoint. |
Endpoint |
selectAlternateEndpoint(java.util.List<Endpoint> alternates)
Select one of the alternate endpoints for a retried invocation. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public AbstractStaticFailoverStrategy()
| Method Detail |
|---|
public java.util.List<Endpoint> getAlternateEndpoints(Exchange exchange)
getAlternateEndpoints in interface FailoverStrategyexchange - the current Exchange
public Endpoint selectAlternateEndpoint(java.util.List<Endpoint> alternates)
selectAlternateEndpoint in interface FailoverStrategya - List of alternate endpoints if available
protected abstract Endpoint getNextAlternate(java.util.List<Endpoint> alternates)
alternates - non-empty List of alternate endpoints
|
Apache CXF API | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||