Package com.netflix.spinnaker.kork.jedis
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 Summary
Modifier and TypeMethodDescriptionname()booleanbooleanbooleanvoidsyncPipeline(redis.clients.jedis.commands.RedisPipeline p) voidwithBinaryClient(Consumer<redis.clients.jedis.commands.BinaryJedisCommands> f) <R> RwithBinaryClient(Function<redis.clients.jedis.commands.BinaryJedisCommands, R> f) voidwithCommandsClient(Consumer<redis.clients.jedis.commands.JedisCommands> f) <R> RwithCommandsClient(Function<redis.clients.jedis.commands.JedisCommands, R> f) voidwithKeyScan(String pattern, int count, Consumer<RedisScanResult> f) voidwithMultiClient(Consumer<redis.clients.jedis.commands.MultiKeyCommands> f) <R> RwithMultiClient(Function<redis.clients.jedis.commands.MultiKeyCommands, R> f) voidwithMultiKeyPipeline(Consumer<redis.clients.jedis.Pipeline> f) <R> RwithMultiKeyPipeline(Function<redis.clients.jedis.Pipeline, R> f) voidwithPipeline(Consumer<redis.clients.jedis.commands.RedisPipeline> f) <R> RwithPipeline(Function<redis.clients.jedis.commands.RedisPipeline, R> f) voidwithScriptingClient(Consumer<redis.clients.jedis.commands.ScriptingCommands> f) <R> RwithScriptingClient(Function<redis.clients.jedis.commands.ScriptingCommands, R> f) voidwithTransaction(Consumer<redis.clients.jedis.Transaction> f) <R> RwithTransaction(Function<redis.clients.jedis.Transaction, R> f)
-
Method Details
-
name
String name() -
withCommandsClient
-
withCommandsClient
-
withMultiClient
-
withMultiClient
-
withBinaryClient
-
withBinaryClient
-
withPipeline
-
withPipeline
-
syncPipeline
void syncPipeline(redis.clients.jedis.commands.RedisPipeline p) -
supportsMultiKeyPipelines
boolean supportsMultiKeyPipelines() -
withMultiKeyPipeline
-
withMultiKeyPipeline
-
supportsTransactions
boolean supportsTransactions() -
withTransaction
-
withTransaction
-
supportsScripting
boolean supportsScripting() -
withScriptingClient
-
withScriptingClient
-
withKeyScan
-