Class CfInsertArgs
- java.lang.Object
-
- io.quarkus.redis.datasource.cuckoo.CfInsertArgs
-
- All Implemented Interfaces:
RedisCommandExtraArguments
public class CfInsertArgs extends Object implements RedisCommandExtraArguments
-
-
Constructor Summary
Constructors Constructor Description CfInsertArgs()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CfInsertArgs
capacity(long capacity)
Specifies the desired capacity of the new filter, if this filter does not exist yet.CfInsertArgs
nocreate()
If specified, prevents automatic filter creation if the filter does not exist.List<Object>
toArgs()
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface io.quarkus.redis.datasource.RedisCommandExtraArguments
toArgs
-
-
-
-
Method Detail
-
capacity
public CfInsertArgs capacity(long capacity)
Specifies the desired capacity of the new filter, if this filter does not exist yet. If the filter already exists, then this parameter is ignored. If the filter does not exist yet and this parameter is not specified, then the filter is created with the module-level default capacity which is 1024.- Parameters:
capacity
- the capacity- Returns:
- the current
CfInsertArgs
-
nocreate
public CfInsertArgs nocreate()
If specified, prevents automatic filter creation if the filter does not exist. Instead, an error is returned if the filter does not already exist. This option is mutually exclusive withCAPACITY
.- Returns:
- the current
CfInsertArgs
-
toArgs
public List<Object> toArgs()
- Specified by:
toArgs
in interfaceRedisCommandExtraArguments
- Returns:
- the list of arguments.
-
-