Package org.apache.cxf.clustering
package org.apache.cxf.clustering
-
ClassDescriptionFailover strategy based on a static cluster represented by multiple endpoints associated with the same service instance.This feature may be applied to a Client so as to enable failover from the initial target endpoint to any other compatible endpoint for the target service.Supports pluggable strategies for alternate endpoint selection on failover.Implements a target selection strategy based on failover to an alternate target endpoint when a transport level failure is encountered.This feature may be applied to a Client so as to enable load distribution amongst a set of target endpoints or addresses Note that this feature changes the conduit on the fly and thus makes the Client not thread safe.The LoadDistributorTargetSelector attempts to do the same job as the FailoverTargetSelector, but to choose an alternate target on every request rather than just when a fault occurs.Marker interface for
FailoverStrategyimplementations that carry per-invocation mutable state (e.g. a retry counter).Failover strategy based on a randomized walk through the static cluster represented by multiple endpoints associated with the same service instance.Retry strategy that retries the same endpoint for a configured number of attempts before advancing to the next alternate (CXF-2036).Failover strategy based on a sequential walk through the static cluster represented by multiple endpoints associated with the same service instance.