Class CircuitBreakerFailoverFeature
- java.lang.Object
-
- javax.xml.ws.WebServiceFeature
-
- org.apache.cxf.feature.AbstractFeature
-
- org.apache.cxf.feature.DelegatingFeature<FailoverFeature.Portable>
-
- org.apache.cxf.clustering.FailoverFeature
-
- org.apache.cxf.clustering.circuitbreaker.CircuitBreakerFailoverFeature
-
- All Implemented Interfaces:
AbstractPortableFeature,Feature
public class CircuitBreakerFailoverFeature extends FailoverFeature
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classCircuitBreakerFailoverFeature.Portable
-
Field Summary
-
Fields inherited from class org.apache.cxf.feature.DelegatingFeature
delegate
-
-
Constructor Summary
Constructors Constructor Description CircuitBreakerFailoverFeature()CircuitBreakerFailoverFeature(int threshold, long timeout)CircuitBreakerFailoverFeature(int threshold, long timeout, String clientBootstrapAddress)CircuitBreakerFailoverFeature(String clientBootstrapAddress)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description FailoverTargetSelectorgetTargetSelector()intgetThreshold()longgetTimeout()voidsetTargetSelector(FailoverTargetSelector targetSelector)voidsetThreshold(int threshold)voidsetTimeout(long timeout)-
Methods inherited from class org.apache.cxf.clustering.FailoverFeature
getClientBootstrapAddress, getStrategy, initTargetSelector, setClientBootstrapAddress, setStrategy
-
Methods inherited from class org.apache.cxf.feature.DelegatingFeature
getDelegate, initialize, initialize, initialize, initialize, initializeProvider, setDelegate
-
Methods inherited from class org.apache.cxf.feature.AbstractFeature
doInitializeProvider, getActive, getID, isEnabled
-
-
-
-
Constructor Detail
-
CircuitBreakerFailoverFeature
public CircuitBreakerFailoverFeature()
-
CircuitBreakerFailoverFeature
public CircuitBreakerFailoverFeature(String clientBootstrapAddress)
-
CircuitBreakerFailoverFeature
public CircuitBreakerFailoverFeature(int threshold, long timeout)
-
CircuitBreakerFailoverFeature
public CircuitBreakerFailoverFeature(int threshold, long timeout, String clientBootstrapAddress)
-
-
Method Detail
-
getTargetSelector
public FailoverTargetSelector getTargetSelector()
- Overrides:
getTargetSelectorin classFailoverFeature
-
setTargetSelector
public void setTargetSelector(FailoverTargetSelector targetSelector)
- Overrides:
setTargetSelectorin classFailoverFeature
-
getThreshold
public int getThreshold()
-
getTimeout
public long getTimeout()
-
setThreshold
public void setThreshold(int threshold)
-
setTimeout
public void setTimeout(long timeout)
-
-