Class CfInsertArgs

java.lang.Object
io.quarkus.redis.datasource.cuckoo.CfInsertArgs
All Implemented Interfaces:
RedisCommandExtraArguments

public class CfInsertArgs extends Object implements RedisCommandExtraArguments
  • Constructor Details

    • CfInsertArgs

      public CfInsertArgs()
  • Method Details

    • 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 with CAPACITY.
      Returns:
      the current CfInsertArgs
    • toArgs

      public List<Object> toArgs()
      Specified by:
      toArgs in interface RedisCommandExtraArguments
      Returns:
      the list of arguments.