ru.tinkoff.kora.database.r2dbc.R2dbcDatabase Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of database-r2dbc Show documentation
Show all versions of database-r2dbc Show documentation
Kora database-r2dbc module
package ru.tinkoff.kora.database.r2dbc;
import io.r2dbc.pool.ConnectionPool;
import io.r2dbc.pool.ConnectionPoolConfiguration;
import io.r2dbc.spi.*;
import jakarta.annotation.Nullable;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import reactor.core.publisher.Flux;
import reactor.core.publisher.Mono;
import ru.tinkoff.kora.application.graph.Lifecycle;
import ru.tinkoff.kora.common.Context;
import ru.tinkoff.kora.common.readiness.ReadinessProbe;
import ru.tinkoff.kora.common.readiness.ReadinessProbeFailure;
import ru.tinkoff.kora.database.common.telemetry.DataBaseTelemetry;
import ru.tinkoff.kora.database.common.telemetry.DataBaseTelemetryFactory;
import java.util.List;
import java.util.Map;
import java.util.Objects;
import java.util.function.Function;
public class R2dbcDatabase implements R2dbcConnectionFactory, Lifecycle, ReadinessProbe {
private static final Logger logger = LoggerFactory.getLogger(R2dbcDatabase.class);
private static final Option
© 2015 - 2025 Weber Informatics LLC | Privacy Policy