Class CircuitBreakerFailoverFeature
java.lang.Object
jakarta.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:
org.apache.cxf.feature.AbstractPortableFeature,org.apache.cxf.feature.Feature
-
Nested Class Summary
Nested Classes -
Field Summary
Fields inherited from class org.apache.cxf.feature.DelegatingFeature
delegateFields inherited from class jakarta.xml.ws.WebServiceFeature
enabled -
Constructor Summary
ConstructorsConstructorDescriptionCircuitBreakerFailoverFeature(int threshold, long timeout) CircuitBreakerFailoverFeature(int threshold, long timeout, String clientBootstrapAddress) CircuitBreakerFailoverFeature(String clientBootstrapAddress) -
Method Summary
Modifier and TypeMethodDescriptionintlongvoidsetTargetSelector(FailoverTargetSelector targetSelector) voidsetThreshold(int threshold) voidsetTimeout(long timeout) Methods inherited from class org.apache.cxf.clustering.FailoverFeature
getClientBootstrapAddress, getStrategy, initTargetSelector, setClientBootstrapAddress, setStrategyMethods inherited from class org.apache.cxf.feature.DelegatingFeature
getDelegate, initialize, initialize, initialize, initialize, initializeProvider, setDelegateMethods inherited from class org.apache.cxf.feature.AbstractFeature
doInitializeProvider, getActive, getID, isEnabled
-
Constructor Details
-
CircuitBreakerFailoverFeature
public CircuitBreakerFailoverFeature() -
CircuitBreakerFailoverFeature
-
CircuitBreakerFailoverFeature
public CircuitBreakerFailoverFeature(int threshold, long timeout) -
CircuitBreakerFailoverFeature
-
-
Method Details
-
getTargetSelector
- Overrides:
getTargetSelectorin classFailoverFeature
-
setTargetSelector
- Overrides:
setTargetSelectorin classFailoverFeature
-
getThreshold
public int getThreshold() -
getTimeout
public long getTimeout() -
setThreshold
public void setThreshold(int threshold) -
setTimeout
public void setTimeout(long timeout)
-