# Uses of Interface
org.apache.storm.redis.common.commands.RedisCommands

Packages that use RedisCommands
Package
Description
org.apache.storm.redis.common.adapter
org.apache.storm.redis.common.container

- ## Uses of RedisCommands in org.apache.storm.redis.common.adapter

  Classes in org.apache.storm.redis.common.adapter that implement RedisCommands
  Modifier and Type
  Class
  Description
  `class`
  `RedisCommandsAdapterJedis`
  Adapter class to make Jedis instance play with BinaryRedisCommands interface.
  `class`
  `RedisCommandsAdapterJedisCluster`
  Adapter class to make JedisCluster instance play with BinaryRedisCommands interface.

- ## Uses of RedisCommands in org.apache.storm.redis.common.container

  Methods in org.apache.storm.redis.common.container that return RedisCommands
  Modifier and Type
  Method
  Description
  `RedisCommands`
  RedisClusterContainer.`getInstance()`
  Borrows instance from container.
  `RedisCommands`
  RedisCommandsInstanceContainer.`getInstance()`
  Borrows instance from container.
  `RedisCommands`
  RedisContainer.`getInstance()`
  Borrows instance from container.
  Methods in org.apache.storm.redis.common.container with parameters of type RedisCommands
  Modifier and Type
  Method
  Description
  `void`
  RedisClusterContainer.`returnInstance(RedisCommands redisCommands)`
  Returns instance to container.
  `void`
  RedisCommandsInstanceContainer.`returnInstance(RedisCommands redisCommands)`
  Returns instance to container.
  `void`
  RedisContainer.`returnInstance(RedisCommands redisCommands)`
  Returns instance to container.