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

me.legrange.service.redis.WithJedis Maven / Gradle / Ivy

package me.legrange.service.redis;

import me.legrange.service.ComponentNotFoundException;
import me.legrange.service.WithComponent;
import redis.clients.jedis.Jedis;
import redis.clients.jedis.JedisPool;

public interface WithJedis extends WithComponent {

    default JedisPool jedisPool() throws ComponentNotFoundException {
        return getComponent(JedisComponent.class).jedisPool();
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy