Interface RedisCommandsInstanceContainer

All Superinterfaces:
AutoCloseable, Closeable
All Known Implementing Classes:
RedisClusterContainer, RedisContainer

public interface RedisCommandsInstanceContainer extends Closeable
Interfaces for containers which stores instances implementing RedisCommands.
  • Method Details

    • getInstance

      RedisCommands getInstance()
      Borrows instance from container.
      Returns:
      instance which implements RedisCommands
    • returnInstance

      void returnInstance(RedisCommands redisCommands)
      Returns instance to container.
      Parameters:
      redisCommands - borrowed instance