io.openlineage.client.circuitBreaker.SimpleMemoryCircuitBreakerBuilder 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;
public class SimpleMemoryCircuitBreakerBuilder implements CircuitBreakerBuilder {
@Override
public String getType() {
return "simpleMemory";
}
@Override
public CircuitBreakerConfig getConfig() {
return new SimpleMemoryCircuitBreakerConfig();
}
@Override
public CircuitBreaker build(CircuitBreakerConfig config) {
return new SimpleMemoryCircuitBreaker((SimpleMemoryCircuitBreakerConfig) config);
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy