@JvmStatic fun open(uri: String): RedisKeyValueStore<Bytes, Bytes>
(source)
Open a Redis-backed key-value store using Bytes keys and values.
uri
- The uri to the Redis store.
IOException
- If an I/O error occurs.
Return
A key-value store dealing with bytes.
@JvmStatic fun <K, V> open(uri: String, keySerializer: Function<K, Bytes>, valueSerializer: Function<V, Bytes>, keyDeserializer: Function<Bytes, K>, valueDeserializer: Function<Bytes, V>): RedisKeyValueStore<K, V>
(source)
Open a Redis-backed key-value store.
uri
- The uri to the Redis store.
keySerializer
- the serializer of key objects to bytes
valueSerializer
- the serializer of value objects to bytes
keyDeserializer
- the deserializer of keys from bytes
valueDeserializer
- the deserializer of values from bytes
Return
A key-value store.
@JvmStatic fun <K, V> open(port: Int, keySerializer: Function<K, Bytes>, valueSerializer: Function<V, Bytes>, keyDeserializer: Function<Bytes, K>, valueDeserializer: Function<Bytes, V>): RedisKeyValueStore<K, V>
(source)
Open a Redis-backed key-value store.
port
- The port for the Redis store.
keySerializer
- the serializer of key objects to bytes
valueSerializer
- the serializer of value objects to bytes
keyDeserializer
- the deserializer of keys from bytes
valueDeserializer
- the deserializer of values from bytes
Return
A key-value store.
@JvmStatic fun <K, V> open(address: InetAddress, keySerializer: Function<K, Bytes>, valueSerializer: Function<V, Bytes>, keyDeserializer: Function<Bytes, K>, valueDeserializer: Function<Bytes, V>): RedisKeyValueStore<K, V>
(source)
Open a Redis-backed key-value store.
address
- The address for the Redis store.
keySerializer
- the serializer of key objects to bytes
valueSerializer
- the serializer of value objects to bytes
keyDeserializer
- the deserializer of keys from bytes
valueDeserializer
- the deserializer of values from bytes
Return
A key-value store.
@JvmStatic fun <K, V> open(port: Int, address: InetAddress, keySerializer: Function<K, Bytes>, valueSerializer: Function<V, Bytes>, keyDeserializer: Function<Bytes, K>, valueDeserializer: Function<Bytes, V>): RedisKeyValueStore<K, V>
(source)
Open a Redis-backed key-value store.
port
- The port for the Redis store.
address
- The address for the Redis store.
keySerializer
- the serializer of key objects to bytes
valueSerializer
- the serializer of value objects to bytes
keyDeserializer
- the deserializer of keys from bytes
valueDeserializer
- the deserializer of values from bytes
Return
A key-value store.