Class GetExArgs

    • Constructor Detail

      • GetExArgs

        public GetExArgs()
        Deprecated.
    • Method Detail

      • ex

        public GetExArgs ex​(long timeout)
        Deprecated.
        Set the specified expire time, in seconds.
        Overrides:
        ex in class GetExArgs
        Parameters:
        timeout - expire time in seconds.
        Returns:
        the current GetExArgs
      • ex

        public GetExArgs ex​(Duration timeout)
        Deprecated.
        Sets the expiration.
        Overrides:
        ex in class GetExArgs
        Parameters:
        timeout - expire time in seconds.
        Returns:
        the current GetExArgs
      • exAt

        public GetExArgs exAt​(long timestamp)
        Deprecated.
        Sets the expiration time
        Overrides:
        exAt in class GetExArgs
        Parameters:
        timestamp - the timestamp
        Returns:
        the current GetExArgs
      • exAt

        public GetExArgs exAt​(Instant timestamp)
        Deprecated.
        Sets the expiration time
        Overrides:
        exAt in class GetExArgs
        Parameters:
        timestamp - the timestamp type: posix time in seconds.
        Returns:
        the current GetExArgs
      • px

        public GetExArgs px​(long timeout)
        Deprecated.
        Set the specified expire time, in milliseconds.
        Overrides:
        px in class GetExArgs
        Parameters:
        timeout - expire time in milliseconds.
        Returns:
        the current GetExArgs
      • px

        public GetExArgs px​(Duration timeout)
        Deprecated.
        Set the specified expire time, in milliseconds.
        Overrides:
        px in class GetExArgs
        Parameters:
        timeout - expire time in milliseconds.
        Returns:
        the current GetExArgs
      • pxAt

        public GetExArgs pxAt​(long timestamp)
        Deprecated.
        Set the specified Unix time at which the key will expire, in milliseconds.
        Overrides:
        pxAt in class GetExArgs
        Parameters:
        timestamp - the timestamp
        Returns:
        the current GetExArgs
      • pxAt

        public GetExArgs pxAt​(Instant timestamp)
        Deprecated.
        Set the specified Unix time at which the key will expire, in milliseconds.
        Overrides:
        pxAt in class GetExArgs
        Parameters:
        timestamp - the timestamp
        Returns:
        the current GetExArgs
      • persist

        public GetExArgs persist()
        Deprecated.
        Sets PERSIST
        Overrides:
        persist in class GetExArgs
        Returns:
        the current GetExArgs