Class BlockingTransactionalCuckooCommandsImpl<K,V>
java.lang.Object
io.quarkus.redis.runtime.datasource.AbstractTransactionalRedisCommandGroup
io.quarkus.redis.runtime.datasource.BlockingTransactionalCuckooCommandsImpl<K,V>
- All Implemented Interfaces:
TransactionalCuckooCommands<K,,V> TransactionalRedisCommands
public class BlockingTransactionalCuckooCommandsImpl<K,V>
extends AbstractTransactionalRedisCommandGroup
implements TransactionalCuckooCommands<K,V>
-
Field Summary
Fields inherited from class io.quarkus.redis.runtime.datasource.AbstractTransactionalRedisCommandGroup
ds, timeout -
Constructor Summary
ConstructorsConstructorDescriptionBlockingTransactionalCuckooCommandsImpl(TransactionalRedisDataSource ds, ReactiveTransactionalCuckooCommands<K, V> reactive, Duration timeout) -
Method Summary
Modifier and TypeMethodDescriptionvoidExecute the command CF.ADD.voidExecute the command CF.ADDNX.voidExecute the command CF.COUNT.voidExecute the command CF.DEL.voidExecute the command CF.EXISTS.voidcfinsert(K key, CfInsertArgs args, V... values) Execute the command CF.INSERT.voidExecute the command CF.INSERT.voidcfinsertnx(K key, CfInsertArgs args, V... values) Execute the command CF.INSERTNX.voidcfinsertnx(K key, V... values) Execute the command CF.INSERTNX.voidExecute the command CF.MEXISTS.voidExecute the command CF.RESERVE.voidcfreserve(K key, long capacity, CfReserveArgs args) Execute the command CF.RESERVE.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
-
BlockingTransactionalCuckooCommandsImpl
public BlockingTransactionalCuckooCommandsImpl(TransactionalRedisDataSource ds, ReactiveTransactionalCuckooCommands<K, V> reactive, Duration timeout)
-
-
Method Details
-
cfadd
Description copied from interface:TransactionalCuckooCommandsExecute the command CF.ADD. Summary: Adds the specified element to the specified Cuckoo filter. Group: cuckooIf the cuckoo filter does not exist, it creates a new one.
- Specified by:
cfaddin interfaceTransactionalCuckooCommands<K,V> - Parameters:
key- the keyvalue- the value, must not benull
-
cfaddnx
Description copied from interface:TransactionalCuckooCommandsExecute the command CF.ADDNX. Summary: Adds an item to a cuckoo filter if the item did not exist previously. Group: cuckooIf the cuckoo filter does not exist, it creates a new one.
- Specified by:
cfaddnxin interfaceTransactionalCuckooCommands<K,V> - Parameters:
key- the keyvalue- the value, must not benull
-
cfcount
Description copied from interface:TransactionalCuckooCommandsExecute the command CF.COUNT. Summary: Returns the number of times an item may be in the filter. Because this is a probabilistic data structure, this may not necessarily be accurate. Group: cuckoo- Specified by:
cfcountin interfaceTransactionalCuckooCommands<K,V> - Parameters:
key- the keyvalue- the value, must not benull
-
cfdel
Description copied from interface:TransactionalCuckooCommandsExecute the command CF.DEL. Summary: Deletes an item once from the filter. If the item exists only once, it will be removed from the filter. If the item was added multiple times, it will still be present. Group: cuckoo- Specified by:
cfdelin interfaceTransactionalCuckooCommands<K,V> - Parameters:
key- the keyvalue- the value, must not benull
-
cfexists
Description copied from interface:TransactionalCuckooCommandsExecute the command CF.EXISTS. Summary: Check if an item exists in a Cuckoo filter Group: cuckoo- Specified by:
cfexistsin interfaceTransactionalCuckooCommands<K,V> - Parameters:
key- the keyvalue- the value, must not benull
-
cfinsert
Description copied from interface:TransactionalCuckooCommandsExecute the command CF.INSERT. Summary: Adds one or more items to a cuckoo filter, allowing the filter to be created with a custom capacity if it does not exist yet. Group: cuckoo- Specified by:
cfinsertin interfaceTransactionalCuckooCommands<K,V> - Parameters:
key- the keyvalues- the values, must not benull, must not be empty, must not containnull
-
cfinsert
Description copied from interface:TransactionalCuckooCommandsExecute the command CF.INSERT. Summary: Adds one or more items to a cuckoo filter, allowing the filter to be created with a custom capacity if it does not exist yet. Group: cuckoo- Specified by:
cfinsertin interfaceTransactionalCuckooCommands<K,V> - Parameters:
key- the keyargs- the extra argumentsvalues- the values, must not benull, must not be empty, must not containnull
-
cfinsertnx
Description copied from interface:TransactionalCuckooCommandsExecute the command CF.INSERTNX. Summary: Adds one or more items to a cuckoo filter, allowing the filter to be created with a custom capacity if it does not exist yet. Group: cuckoo- Specified by:
cfinsertnxin interfaceTransactionalCuckooCommands<K,V> - Parameters:
key- the keyvalues- the values, must not benull, must not be empty, must not containnull
-
cfinsertnx
Description copied from interface:TransactionalCuckooCommandsExecute the command CF.INSERTNX. Summary: Adds one or more items to a cuckoo filter, allowing the filter to be created with a custom capacity if it does not exist yet. Group: cuckoo- Specified by:
cfinsertnxin interfaceTransactionalCuckooCommands<K,V> - Parameters:
key- the keyargs- the extra argumentsvalues- the values, must not benull, must not be empty, must not containnull
-
cfmexists
Description copied from interface:TransactionalCuckooCommandsExecute the command CF.MEXISTS. Summary: Check if an item exists in a Cuckoo filter Group: cuckoo- Specified by:
cfmexistsin interfaceTransactionalCuckooCommands<K,V> - Parameters:
key- the keyvalues- the values, must not benull, must not containnull, must not be empty
-
cfreserve
Description copied from interface:TransactionalCuckooCommandsExecute the command CF.RESERVE. Summary: Create a Cuckoo Filter as key with a single sub-filter for the initial amount of capacity for items. Group: cuckoo- Specified by:
cfreservein interfaceTransactionalCuckooCommands<K,V> - Parameters:
key- the keycapacity- the capacity
-
cfreserve
Description copied from interface:TransactionalCuckooCommandsExecute the command CF.RESERVE. Summary: Create a Cuckoo Filter as key with a single sub-filter for the initial amount of capacity for items. Group: cuckoo- Specified by:
cfreservein interfaceTransactionalCuckooCommands<K,V> - Parameters:
key- the keycapacity- the capacityargs- the extra parameters
-