Class StaticCircuitBreakerConfig
- java.lang.Object
-
- io.openlineage.client.circuitBreaker.StaticCircuitBreakerConfig
-
- All Implemented Interfaces:
CircuitBreakerConfig
public final class StaticCircuitBreakerConfig extends java.lang.Object implements CircuitBreakerConfig
-
-
Constructor Summary
Constructors Constructor Description StaticCircuitBreakerConfig()
StaticCircuitBreakerConfig(java.lang.String valuesReturned)
StaticCircuitBreakerConfig(java.lang.String valuesReturned, java.lang.Integer circuitCheckIntervalInMillis)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object o)
java.lang.Integer
getCircuitCheckIntervalInMillis()
java.lang.String
getValuesReturned()
int
hashCode()
void
setCircuitCheckIntervalInMillis(java.lang.Integer circuitCheckIntervalInMillis)
void
setValuesReturned(java.lang.String valuesReturned)
java.lang.String
toString()
StaticCircuitBreakerConfig
withCircuitCheckIntervalInMillis(java.lang.Integer circuitCheckIntervalInMillis)
StaticCircuitBreakerConfig
withValuesReturned(java.lang.String valuesReturned)
-
-
-
Constructor Detail
-
StaticCircuitBreakerConfig
public StaticCircuitBreakerConfig(java.lang.String valuesReturned)
-
StaticCircuitBreakerConfig
public StaticCircuitBreakerConfig()
-
StaticCircuitBreakerConfig
public StaticCircuitBreakerConfig(java.lang.String valuesReturned, java.lang.Integer circuitCheckIntervalInMillis)
-
-
Method Detail
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
withValuesReturned
public StaticCircuitBreakerConfig withValuesReturned(java.lang.String valuesReturned)
- Returns:
- a clone of this object, except with this updated property (returns
this
if an identical value is passed).
-
withCircuitCheckIntervalInMillis
public StaticCircuitBreakerConfig withCircuitCheckIntervalInMillis(java.lang.Integer circuitCheckIntervalInMillis)
- Returns:
- a clone of this object, except with this updated property (returns
this
if an identical value is passed).
-
getValuesReturned
public java.lang.String getValuesReturned()
-
setValuesReturned
public void setValuesReturned(java.lang.String valuesReturned)
-
getCircuitCheckIntervalInMillis
public java.lang.Integer getCircuitCheckIntervalInMillis()
-
setCircuitCheckIntervalInMillis
public void setCircuitCheckIntervalInMillis(java.lang.Integer circuitCheckIntervalInMillis)
-
-