Interface RedisClientDelegate

All Known Implementing Classes:
JedisClientDelegate

public interface RedisClientDelegate
Offers a functional interface over either a vanilla Jedis or Dynomite client.

TODO rz - remove withKeyScan once Dyno implements the Jedis interfaces

  • Method Details

    • name

      String name()
    • withCommandsClient

      <R> R withCommandsClient(Function<redis.clients.jedis.commands.JedisCommands,R> f)
    • withCommandsClient

      void withCommandsClient(Consumer<redis.clients.jedis.commands.JedisCommands> f)
    • withMultiClient

      <R> R withMultiClient(Function<redis.clients.jedis.commands.MultiKeyCommands,R> f)
    • withMultiClient

      void withMultiClient(Consumer<redis.clients.jedis.commands.MultiKeyCommands> f)
    • withBinaryClient

      <R> R withBinaryClient(Function<redis.clients.jedis.commands.BinaryJedisCommands,R> f)
    • withBinaryClient

      void withBinaryClient(Consumer<redis.clients.jedis.commands.BinaryJedisCommands> f)
    • withPipeline

      void withPipeline(Consumer<redis.clients.jedis.commands.RedisPipeline> f)
    • withPipeline

      <R> R withPipeline(Function<redis.clients.jedis.commands.RedisPipeline,R> f)
    • syncPipeline

      void syncPipeline(redis.clients.jedis.commands.RedisPipeline p)
    • supportsMultiKeyPipelines

      boolean supportsMultiKeyPipelines()
    • withMultiKeyPipeline

      void withMultiKeyPipeline(Consumer<redis.clients.jedis.Pipeline> f)
    • withMultiKeyPipeline

      <R> R withMultiKeyPipeline(Function<redis.clients.jedis.Pipeline,R> f)
    • supportsTransactions

      boolean supportsTransactions()
    • withTransaction

      void withTransaction(Consumer<redis.clients.jedis.Transaction> f)
    • withTransaction

      <R> R withTransaction(Function<redis.clients.jedis.Transaction,R> f)
    • supportsScripting

      boolean supportsScripting()
    • withScriptingClient

      void withScriptingClient(Consumer<redis.clients.jedis.commands.ScriptingCommands> f)
    • withScriptingClient

      <R> R withScriptingClient(Function<redis.clients.jedis.commands.ScriptingCommands,R> f)
    • withKeyScan

      void withKeyScan(String pattern, int count, Consumer<RedisScanResult> f)