io.quarkus.redis.runtime.datasource.AbstractRedisCommandGroup 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.RedisCommands;
import io.quarkus.redis.datasource.RedisDataSource;
public class AbstractRedisCommandGroup implements RedisCommands {
protected final RedisDataSource ds;
protected final Duration timeout;
public AbstractRedisCommandGroup(RedisDataSource ds, Duration timeout) {
this.ds = ds;
this.timeout = timeout;
}
@Override
public RedisDataSource getDataSource() {
return ds;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy