All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.quarkus.redis.runtime.datasource.AbstractTransactionalRedisCommandGroup Maven / Gradle / Ivy

There is a newer version: 3.17.5
Show newest version
package io.quarkus.redis.runtime.datasource;

import java.time.Duration;

import io.quarkus.redis.datasource.TransactionalRedisCommands;
import io.quarkus.redis.datasource.transactions.TransactionalRedisDataSource;

public class AbstractTransactionalRedisCommandGroup implements TransactionalRedisCommands {

    protected final TransactionalRedisDataSource ds;
    protected final Duration timeout;

    public AbstractTransactionalRedisCommandGroup(TransactionalRedisDataSource ds, Duration timeout) {
        this.ds = ds;
        this.timeout = timeout;
    }

    @Override
    public TransactionalRedisDataSource getDataSource() {
        return ds;
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy