Package com.netflix.spinnaker.kork.jedis
Class JedisClientDelegate
java.lang.Object
com.netflix.spinnaker.kork.jedis.JedisClientDelegate
- All Implemented Interfaces:
RedisClientDelegate
-
Constructor Summary
ConstructorsConstructorDescriptionJedisClientDelegate(String name, redis.clients.jedis.util.Pool<redis.clients.jedis.Jedis> jedisPool) JedisClientDelegate(redis.clients.jedis.util.Pool<redis.clients.jedis.Jedis> jedisPool) -
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)
-
Constructor Details
-
JedisClientDelegate
public JedisClientDelegate(redis.clients.jedis.util.Pool<redis.clients.jedis.Jedis> jedisPool) -
JedisClientDelegate
public JedisClientDelegate(String name, redis.clients.jedis.util.Pool<redis.clients.jedis.Jedis> jedisPool)
-
-
Method Details
-
name
- Specified by:
namein interfaceRedisClientDelegate
-
withCommandsClient
- Specified by:
withCommandsClientin interfaceRedisClientDelegate
-
withCommandsClient
- Specified by:
withCommandsClientin interfaceRedisClientDelegate
-
withMultiClient
- Specified by:
withMultiClientin interfaceRedisClientDelegate
-
withMultiClient
- Specified by:
withMultiClientin interfaceRedisClientDelegate
-
withBinaryClient
- Specified by:
withBinaryClientin interfaceRedisClientDelegate
-
withBinaryClient
- Specified by:
withBinaryClientin interfaceRedisClientDelegate
-
withPipeline
- Specified by:
withPipelinein interfaceRedisClientDelegate
-
withPipeline
- Specified by:
withPipelinein interfaceRedisClientDelegate
-
syncPipeline
public void syncPipeline(redis.clients.jedis.commands.RedisPipeline p) - Specified by:
syncPipelinein interfaceRedisClientDelegate
-
supportsMultiKeyPipelines
public boolean supportsMultiKeyPipelines()- Specified by:
supportsMultiKeyPipelinesin interfaceRedisClientDelegate
-
withMultiKeyPipeline
- Specified by:
withMultiKeyPipelinein interfaceRedisClientDelegate
-
withMultiKeyPipeline
- Specified by:
withMultiKeyPipelinein interfaceRedisClientDelegate
-
supportsTransactions
public boolean supportsTransactions()- Specified by:
supportsTransactionsin interfaceRedisClientDelegate
-
withTransaction
- Specified by:
withTransactionin interfaceRedisClientDelegate
-
withTransaction
- Specified by:
withTransactionin interfaceRedisClientDelegate
-
supportsScripting
public boolean supportsScripting()- Specified by:
supportsScriptingin interfaceRedisClientDelegate
-
withScriptingClient
- Specified by:
withScriptingClientin interfaceRedisClientDelegate
-
withScriptingClient
- Specified by:
withScriptingClientin interfaceRedisClientDelegate
-
withKeyScan
- Specified by:
withKeyScanin interfaceRedisClientDelegate
-