Class CfInsertArgs

    • Constructor Detail

      • CfInsertArgs

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