Interface IRedis

All Superinterfaces:
AutoCloseable, dev.demeng.pluginbase.terminable.Terminable
All Known Implementing Classes:
Redis

public interface IRedis extends dev.demeng.pluginbase.terminable.Terminable
Represents an individual redis instance, created by the library.
  • Field Summary

    Fields inherited from interface dev.demeng.pluginbase.terminable.Terminable

    EMPTY
  • Method Summary

    Modifier and Type
    Method
    Description
    @NotNull redis.clients.jedis.JedisPool
    Gets the JedisPool instance backing the Redis instance.

    Methods inherited from interface dev.demeng.pluginbase.terminable.Terminable

    bindWith, close, closeAndReportException, closeSilently, isClosed
  • Method Details

    • getJedisPool

      @NotNull @NotNull redis.clients.jedis.JedisPool getJedisPool()
      Gets the JedisPool instance backing the Redis instance.
      Returns:
      The JedisPool instance