io.quarkus.redis.runtime.datasource.AbstractTransactionalRedisCommandGroup Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of quarkus-redis-client Show documentation
Show all versions of quarkus-redis-client Show documentation
Connect to Redis in either imperative or reactive style
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