io.openlineage.client.circuitBreaker.StaticCircuitBreakerConfig Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of openlineage-java Show documentation
Show all versions of openlineage-java Show documentation
Java library for OpenLineage
/*
/* Copyright 2018-2024 contributors to the OpenLineage project
/* SPDX-License-Identifier: Apache-2.0
*/
package io.openlineage.client.circuitBreaker;
import static io.openlineage.client.circuitBreaker.CircuitBreaker.CIRCUIT_CHECK_INTERVAL_IN_MILLIS;
import lombok.AllArgsConstructor;
import lombok.EqualsAndHashCode;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;
import lombok.ToString;
import lombok.With;
@NoArgsConstructor
@ToString
@EqualsAndHashCode
@AllArgsConstructor
@With
public final class StaticCircuitBreakerConfig implements CircuitBreakerConfig {
@Getter @Setter private String valuesReturned;
@Getter @Setter private Integer circuitCheckIntervalInMillis = CIRCUIT_CHECK_INTERVAL_IN_MILLIS;
public StaticCircuitBreakerConfig(String valuesReturned) {
this(valuesReturned, CIRCUIT_CHECK_INTERVAL_IN_MILLIS);
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy