Many resources are needed to download a project. Please understand that we have to compensate our server costs. Thank you in advance. Project price only 1 $
You can buy this project and download/modify it how often you want.
package misk.redis
import misk.redis.Redis.ScanResult
import okio.ByteString
import redis.clients.jedis.args.ListDirection
import java.time.Duration
import java.util.function.Supplier
/**
* Like [Redis], but returns [Supplier]s to defer value retrieval.
* **Does not support transactions or pubsub.**
*/
interface DeferredRedis {
fun del(key: String): Supplier
fun del(vararg keys: String): Supplier
fun mget(vararg keys: String): Supplier>
fun mset(vararg keyValues: ByteString): Supplier
operator fun get(key: String): Supplier
fun getDel(key: String): Supplier
fun hdel(key: String, vararg fields: String): Supplier
fun hget(key: String, field: String): Supplier
fun hgetAll(key: String): Supplier