Class ZMpopArgs

    • Constructor Detail

      • ZMpopArgs

        public ZMpopArgs()
    • Method Detail

      • min

        public ZMpopArgs min()
        When the MIN modifier is used, the elements popped are those with the lowest scores from the first non-empty sorted set.
        Returns:
        the current ZmpopArgs
      • max

        public ZMpopArgs max()
        The MAX modifier causes elements with the highest scores to be popped.
        Returns:
        the current ZmpopArgs
      • count

        public ZMpopArgs count​(int count)
        The optional COUNT can be used to specify the number of elements to pop, and is set to 1 by default.
        Parameters:
        count - the count value
        Returns:
        the current ZmpopArgs