Class CircuitBreakerFailoverFeature.Portable
java.lang.Object
org.apache.cxf.clustering.FailoverFeature.Portable
org.apache.cxf.clustering.circuitbreaker.CircuitBreakerFailoverFeature.Portable
- All Implemented Interfaces:
org.apache.cxf.feature.AbstractPortableFeature,org.apache.cxf.feature.Feature
- Enclosing class:
- CircuitBreakerFailoverFeature
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintlongvoidsetTargetSelector(FailoverTargetSelector targetSelector) voidsetThreshold(int threshold) voidsetTimeout(long timeout) Methods inherited from class org.apache.cxf.clustering.FailoverFeature.Portable
doInitializeProvider, getClientBootstrapAddress, getStrategy, initialize, initTargetSelector, setClientBootstrapAddress, setStrategyMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.apache.cxf.feature.AbstractPortableFeature
initialize, initialize, initialize
-
Constructor Details
-
Portable
public Portable() -
Portable
-
Portable
public Portable(int threshold, long timeout) -
Portable
-
-
Method Details
-
getTargetSelector
- Overrides:
getTargetSelectorin classFailoverFeature.Portable
-
setTargetSelector
- Overrides:
setTargetSelectorin classFailoverFeature.Portable
-
getThreshold
public int getThreshold() -
getTimeout
public long getTimeout() -
setThreshold
public void setThreshold(int threshold) -
setTimeout
public void setTimeout(long timeout)
-