Interface RedisSession

All Superinterfaces:
AutoCloseable
All Known Implementing Classes:
RedisClusterSession, RedisStandaloneSession

public interface RedisSession extends AutoCloseable
A session with a Redis Standalone or Cluster setup.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
     
    boolean
    Returns true if this session is operable.
    Returns the log files attached to this session.
    boolean
    Resets this session to its initial state.
  • Method Details

    • logFiles

      List<Path> logFiles()
      Returns the log files attached to this session.
    • reset

      boolean reset()
      Resets this session to its initial state. Returns true if the session is operable after being reset.
    • isHealthy

      boolean isHealthy()
      Returns true if this session is operable.
    • close

      void close() throws IOException
      Specified by:
      close in interface AutoCloseable
      Throws:
      IOException