Class JavaRuntimeCircuitBreakerConfig
- java.lang.Object
-
- io.openlineage.client.circuitBreaker.JavaRuntimeCircuitBreakerConfig
-
- All Implemented Interfaces:
CircuitBreakerConfig
public final class JavaRuntimeCircuitBreakerConfig extends java.lang.Object implements CircuitBreakerConfig
-
-
Constructor Summary
Constructors Constructor Description JavaRuntimeCircuitBreakerConfig()
JavaRuntimeCircuitBreakerConfig(int memoryThreshold, int gcCpuThreshold)
JavaRuntimeCircuitBreakerConfig(int memoryThreshold, int gcCpuThreshold, int circuitCheckIntervalInMillis)
JavaRuntimeCircuitBreakerConfig(java.lang.Integer memoryThreshold, java.lang.Integer gcCpuThreshold, java.lang.Integer circuitCheckIntervalInMillis, java.lang.Integer timeoutInSeconds)
-
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.Integer
getGcCpuThreshold()
java.lang.Integer
getMemoryThreshold()
java.lang.Integer
getTimeoutInSeconds()
int
hashCode()
void
setCircuitCheckIntervalInMillis(java.lang.Integer circuitCheckIntervalInMillis)
void
setGcCpuThreshold(java.lang.Integer gcCpuThreshold)
void
setMemoryThreshold(java.lang.Integer memoryThreshold)
void
setTimeoutInSeconds(java.lang.Integer timeoutInSeconds)
java.lang.String
toString()
JavaRuntimeCircuitBreakerConfig
withCircuitCheckIntervalInMillis(java.lang.Integer circuitCheckIntervalInMillis)
JavaRuntimeCircuitBreakerConfig
withGcCpuThreshold(java.lang.Integer gcCpuThreshold)
JavaRuntimeCircuitBreakerConfig
withMemoryThreshold(java.lang.Integer memoryThreshold)
JavaRuntimeCircuitBreakerConfig
withTimeoutInSeconds(java.lang.Integer timeoutInSeconds)
-
-
-
Constructor Detail
-
JavaRuntimeCircuitBreakerConfig
public JavaRuntimeCircuitBreakerConfig(int memoryThreshold, int gcCpuThreshold, int circuitCheckIntervalInMillis)
-
JavaRuntimeCircuitBreakerConfig
public JavaRuntimeCircuitBreakerConfig(int memoryThreshold, int gcCpuThreshold)
-
JavaRuntimeCircuitBreakerConfig
public JavaRuntimeCircuitBreakerConfig()
-
JavaRuntimeCircuitBreakerConfig
public JavaRuntimeCircuitBreakerConfig(java.lang.Integer memoryThreshold, java.lang.Integer gcCpuThreshold, java.lang.Integer circuitCheckIntervalInMillis, java.lang.Integer timeoutInSeconds)
-
-
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
-
withMemoryThreshold
public JavaRuntimeCircuitBreakerConfig withMemoryThreshold(java.lang.Integer memoryThreshold)
- Returns:
- a clone of this object, except with this updated property (returns
this
if an identical value is passed).
-
withGcCpuThreshold
public JavaRuntimeCircuitBreakerConfig withGcCpuThreshold(java.lang.Integer gcCpuThreshold)
- Returns:
- a clone of this object, except with this updated property (returns
this
if an identical value is passed).
-
withCircuitCheckIntervalInMillis
public JavaRuntimeCircuitBreakerConfig withCircuitCheckIntervalInMillis(java.lang.Integer circuitCheckIntervalInMillis)
- Returns:
- a clone of this object, except with this updated property (returns
this
if an identical value is passed).
-
withTimeoutInSeconds
public JavaRuntimeCircuitBreakerConfig withTimeoutInSeconds(java.lang.Integer timeoutInSeconds)
- Returns:
- a clone of this object, except with this updated property (returns
this
if an identical value is passed).
-
getMemoryThreshold
public java.lang.Integer getMemoryThreshold()
-
setMemoryThreshold
public void setMemoryThreshold(java.lang.Integer memoryThreshold)
-
getGcCpuThreshold
public java.lang.Integer getGcCpuThreshold()
-
setGcCpuThreshold
public void setGcCpuThreshold(java.lang.Integer gcCpuThreshold)
-
getCircuitCheckIntervalInMillis
public java.lang.Integer getCircuitCheckIntervalInMillis()
-
setCircuitCheckIntervalInMillis
public void setCircuitCheckIntervalInMillis(java.lang.Integer circuitCheckIntervalInMillis)
-
getTimeoutInSeconds
public java.lang.Integer getTimeoutInSeconds()
-
setTimeoutInSeconds
public void setTimeoutInSeconds(java.lang.Integer timeoutInSeconds)
-
-