|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.cxf.clustering.AbstractStaticFailoverStrategy
org.apache.cxf.clustering.RandomStrategy
public class RandomStrategy
Failover strategy based on a randomized walk through the static cluster represented by multiple endpoints associated with the same service instance.
Constructor Summary | |
---|---|
RandomStrategy()
Constructor. |
Method Summary | |
---|---|
protected Endpoint |
getNextAlternate(java.util.List<Endpoint> alternates)
Get next alternate endpoint. |
Methods inherited from class org.apache.cxf.clustering.AbstractStaticFailoverStrategy |
---|
getAlternateEndpoints, selectAlternateEndpoint |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public RandomStrategy()
Method Detail |
---|
protected Endpoint getNextAlternate(java.util.List<Endpoint> alternates)
getNextAlternate
in class AbstractStaticFailoverStrategy
alternates
- non-empty List of alternate endpoints
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |