org.apache.cxf.clustering
Class SequentialStrategy

java.lang.Object
  extended by org.apache.cxf.clustering.AbstractStaticFailoverStrategy
      extended by org.apache.cxf.clustering.SequentialStrategy
All Implemented Interfaces:
FailoverStrategy

public class SequentialStrategy
extends AbstractStaticFailoverStrategy

Failover strategy based on a sequential walk through the static cluster represented by multiple endpoints associated with the same service instance.


Constructor Summary
SequentialStrategy()
           
 
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

SequentialStrategy

public SequentialStrategy()
Method Detail

getNextAlternate

protected Endpoint getNextAlternate(java.util.List<Endpoint> alternates)
Get next alternate endpoint.

Specified by:
getNextAlternate in class AbstractStaticFailoverStrategy
Parameters:
alternates - non-empty List of alternate endpoints
Returns:


Apache CXF