Class BlockingTransactionalStringCommandsImpl<K,V>
java.lang.Object
io.quarkus.redis.runtime.datasource.AbstractTransactionalRedisCommandGroup
io.quarkus.redis.runtime.datasource.BlockingTransactionalStringCommandsImpl<K,V>
- All Implemented Interfaces:
TransactionalStringCommands<K,,V> TransactionalRedisCommands,TransactionalValueCommands<K,V>
public class BlockingTransactionalStringCommandsImpl<K,V>
extends AbstractTransactionalRedisCommandGroup
implements TransactionalStringCommands<K,V>, TransactionalValueCommands<K,V>
-
Field Summary
Fields inherited from class io.quarkus.redis.runtime.datasource.AbstractTransactionalRedisCommandGroup
ds, timeout -
Constructor Summary
ConstructorsConstructorDescriptionBlockingTransactionalStringCommandsImpl(TransactionalRedisDataSource ds, ReactiveTransactionalValueCommands<K, V> reactive, Duration timeout) -
Method Summary
Modifier and TypeMethodDescriptionvoidExecute the command APPEND.voidExecute the command DECR.voidExecute the command DECRBY.voidExecute the command GET.voidExecute the command GETDEL.voidExecute the command GETEX.voidExecute the command GETEX.voidExecute the command GETRANGE.voidExecute the command GETSET.voidExecute the command INCR.voidExecute the command INCRBY.voidincrbyfloat(K key, double amount) Execute the command INCRBYFLOAT.voidExecute the command LCS.voidExecute the command LCS.voidExecute the command MGET.voidExecute the command MSET.voidExecute the command MSETNX.voidExecute the command PSETEX.voidExecute the command SET.voidExecute the command SET.voidExecute the command SET.voidExecute the command SETEX.voidExecute the command SET.voidExecute the command SET.voidExecute the command SET.voidExecute the command SETNX.voidExecute the command SETRANGE.voidExecute the command STRLEN.Methods inherited from class io.quarkus.redis.runtime.datasource.AbstractTransactionalRedisCommandGroup
getDataSourceMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface io.quarkus.redis.datasource.TransactionalRedisCommands
getDataSource
-
Constructor Details
-
BlockingTransactionalStringCommandsImpl
public BlockingTransactionalStringCommandsImpl(TransactionalRedisDataSource ds, ReactiveTransactionalValueCommands<K, V> reactive, Duration timeout)
-
-
Method Details
-
append
Description copied from interface:TransactionalStringCommandsExecute the command APPEND. Summary: Append a value to a key Group: string Requires Redis 2.0.0- Specified by:
appendin interfaceTransactionalStringCommands<K,V> - Specified by:
appendin interfaceTransactionalValueCommands<K,V> - Parameters:
key- the keyvalue- the value
-
decr
Description copied from interface:TransactionalStringCommandsExecute the command DECR. Summary: Decrement the integer value of a key by one Group: string Requires Redis 1.0.0- Specified by:
decrin interfaceTransactionalStringCommands<K,V> - Specified by:
decrin interfaceTransactionalValueCommands<K,V> - Parameters:
key- the key
-
decrby
Description copied from interface:TransactionalStringCommandsExecute the command DECRBY. Summary: Decrement the integer value of a key by the given number Group: string Requires Redis 1.0.0- Specified by:
decrbyin interfaceTransactionalStringCommands<K,V> - Specified by:
decrbyin interfaceTransactionalValueCommands<K,V> - Parameters:
key- the keyamount- the amount, can be negative
-
get
Description copied from interface:TransactionalStringCommandsExecute the command GET. Summary: Get the value of a key Group: string Requires Redis 1.0.0- Specified by:
getin interfaceTransactionalStringCommands<K,V> - Specified by:
getin interfaceTransactionalValueCommands<K,V> - Parameters:
key- the key
-
getdel
Description copied from interface:TransactionalStringCommandsExecute the command GETDEL. Summary: Get the value of a key and delete the key Group: string Requires Redis 6.2.0- Specified by:
getdelin interfaceTransactionalStringCommands<K,V> - Specified by:
getdelin interfaceTransactionalValueCommands<K,V> - Parameters:
key- the key
-
getex
Description copied from interface:TransactionalStringCommandsExecute the command GETEX. Summary: Get the value of a key and optionally set its expiration Group: string Requires Redis 6.2.0- Specified by:
getexin interfaceTransactionalStringCommands<K,V> - Parameters:
key- the keyargs- the getex command extra-arguments
-
getex
Description copied from interface:TransactionalValueCommandsExecute the command GETEX. Summary: Get the value of a key and optionally set its expiration Group: string Requires Redis 6.2.0- Specified by:
getexin interfaceTransactionalValueCommands<K,V> - Parameters:
key- the keyargs- the getex command extra-arguments
-
getrange
Description copied from interface:TransactionalStringCommandsExecute the command GETRANGE. Summary: Get a substring of the string stored at a key Group: string Requires Redis 2.4.0- Specified by:
getrangein interfaceTransactionalStringCommands<K,V> - Specified by:
getrangein interfaceTransactionalValueCommands<K,V> - Parameters:
key- the keystart- the start offsetend- the end offset
-
getset
Description copied from interface:TransactionalStringCommandsExecute the command GETSET. Summary: Set the string value of a key and return its old value Group: string Requires Redis 1.0.0- Specified by:
getsetin interfaceTransactionalStringCommands<K,V> - Specified by:
getsetin interfaceTransactionalValueCommands<K,V> - Parameters:
key- the keyvalue- the value
-
incr
Description copied from interface:TransactionalStringCommandsExecute the command INCR. Summary: Increment the integer value of a key by one Group: string Requires Redis 1.0.0- Specified by:
incrin interfaceTransactionalStringCommands<K,V> - Specified by:
incrin interfaceTransactionalValueCommands<K,V> - Parameters:
key- the key
-
incrby
Description copied from interface:TransactionalStringCommandsExecute the command INCRBY. Summary: Increment the integer value of a key by the given amount Group: string Requires Redis 1.0.0- Specified by:
incrbyin interfaceTransactionalStringCommands<K,V> - Specified by:
incrbyin interfaceTransactionalValueCommands<K,V> - Parameters:
key- the keyamount- the amount, can be negative
-
incrbyfloat
Description copied from interface:TransactionalStringCommandsExecute the command INCRBYFLOAT. Summary: Increment the float value of a key by the given amount Group: string Requires Redis 2.6.0- Specified by:
incrbyfloatin interfaceTransactionalStringCommands<K,V> - Specified by:
incrbyfloatin interfaceTransactionalValueCommands<K,V> - Parameters:
key- the keyamount- the amount, can be negative
-
lcs
Description copied from interface:TransactionalStringCommandsExecute the command LCS. Summary: Find longest common substring Group: string Requires Redis 7.0.0- Specified by:
lcsin interfaceTransactionalStringCommands<K,V> - Specified by:
lcsin interfaceTransactionalValueCommands<K,V> - Parameters:
key1- the keykey2- the key
-
lcsLength
Description copied from interface:TransactionalStringCommandsExecute the command LCS. Summary: Find longest common substring and return the length (usingLEN) Group: string Requires Redis 7.0.0- Specified by:
lcsLengthin interfaceTransactionalStringCommands<K,V> - Specified by:
lcsLengthin interfaceTransactionalValueCommands<K,V> - Parameters:
key1- the keykey2- the key
-
mget
Description copied from interface:TransactionalStringCommandsExecute the command MGET. Summary: Get the values of all the given keys Group: string Requires Redis 1.0.0- Specified by:
mgetin interfaceTransactionalStringCommands<K,V> - Specified by:
mgetin interfaceTransactionalValueCommands<K,V> - Parameters:
keys- the keys
-
mset
Description copied from interface:TransactionalStringCommandsExecute the command MSET. Summary: Set multiple keys to multiple values Group: string Requires Redis 1.0.1- Specified by:
msetin interfaceTransactionalStringCommands<K,V> - Specified by:
msetin interfaceTransactionalValueCommands<K,V> - Parameters:
map- the key/value map containing the items to store
-
msetnx
Description copied from interface:TransactionalStringCommandsExecute the command MSETNX. Summary: Set multiple keys to multiple values, only if none of the keys exist Group: string Requires Redis 1.0.1- Specified by:
msetnxin interfaceTransactionalStringCommands<K,V> - Specified by:
msetnxin interfaceTransactionalValueCommands<K,V> - Parameters:
map- the key/value map containing the items to store
-
psetex
Description copied from interface:TransactionalStringCommandsExecute the command PSETEX. Summary: Set the value and expiration in milliseconds of a key Group: string Requires Redis 2.6.0- Specified by:
psetexin interfaceTransactionalStringCommands<K,V> - Specified by:
psetexin interfaceTransactionalValueCommands<K,V> - Parameters:
key- the keymilliseconds- the duration in msvalue- the value
-
set
Description copied from interface:TransactionalStringCommandsExecute the command SET. Summary: Set the string value of a key Group: string Requires Redis 1.0.0- Specified by:
setin interfaceTransactionalStringCommands<K,V> - Specified by:
setin interfaceTransactionalValueCommands<K,V> - Parameters:
key- the keyvalue- the value
-
set
Description copied from interface:TransactionalStringCommandsExecute the command SET. Summary: Set the string value of a key Group: string Requires Redis 1.0.0- Specified by:
setin interfaceTransactionalStringCommands<K,V> - Parameters:
key- the keyvalue- the valuesetArgs- the set command extra-arguments
-
set
Description copied from interface:TransactionalValueCommandsExecute the command SET. Summary: Set the string value of a key Group: string Requires Redis 1.0.0- Specified by:
setin interfaceTransactionalValueCommands<K,V> - Parameters:
key- the keyvalue- the valuesetArgs- the set command extra-arguments
-
setGet
Description copied from interface:TransactionalStringCommandsExecute the command SET. Summary: Set the string value of a key, and return the previous value Group: string Requires Redis 1.0.0- Specified by:
setGetin interfaceTransactionalStringCommands<K,V> - Specified by:
setGetin interfaceTransactionalValueCommands<K,V> - Parameters:
key- the keyvalue- the value
-
setGet
Description copied from interface:TransactionalStringCommandsExecute the command SET. Summary: Set the string value of a key, and return the previous value Group: string Requires Redis 1.0.0- Specified by:
setGetin interfaceTransactionalStringCommands<K,V> - Parameters:
key- the keyvalue- the valuesetArgs- the set command extra-arguments
-
setGet
Description copied from interface:TransactionalValueCommandsExecute the command SET. Summary: Set the string value of a key, and return the previous value Group: string Requires Redis 1.0.0- Specified by:
setGetin interfaceTransactionalValueCommands<K,V> - Parameters:
key- the keyvalue- the valuesetArgs- the set command extra-arguments
-
setex
Description copied from interface:TransactionalStringCommandsExecute the command SETEX. Summary: Set the value and expiration of a key Group: string Requires Redis 2.0.0- Specified by:
setexin interfaceTransactionalStringCommands<K,V> - Specified by:
setexin interfaceTransactionalValueCommands<K,V> - Parameters:
key- the keyvalue- the value
-
setnx
Description copied from interface:TransactionalStringCommandsExecute the command SETNX. Summary: Set the value of a key, only if the key does not exist Group: string Requires Redis 1.0.0- Specified by:
setnxin interfaceTransactionalStringCommands<K,V> - Specified by:
setnxin interfaceTransactionalValueCommands<K,V> - Parameters:
key- the keyvalue- the value
-
setrange
Description copied from interface:TransactionalStringCommandsExecute the command SETRANGE. Summary: Overwrite part of a string at key starting at the specified offset Group: string Requires Redis 2.2.0- Specified by:
setrangein interfaceTransactionalStringCommands<K,V> - Specified by:
setrangein interfaceTransactionalValueCommands<K,V> - Parameters:
key- the keyvalue- the value
-
strlen
Description copied from interface:TransactionalStringCommandsExecute the command STRLEN. Summary: Get the length of the value stored in a key Group: string Requires Redis 2.2.0- Specified by:
strlenin interfaceTransactionalStringCommands<K,V> - Specified by:
strlenin interfaceTransactionalValueCommands<K,V> - Parameters:
key- the key
-