Interface RedisNodeAsync

    • Method Detail

      • getMemoryStatisticsAsync

        RFuture<Map<String,​String>> getMemoryStatisticsAsync()
        Returns Redis memory statistics
        Returns:
        statistics info map
      • timeAsync

        RFuture<Time> timeAsync()
        Returns current Redis server time in seconds
        Returns:
        time in seconds
      • pingAsync

        RFuture<Boolean> pingAsync()
        Ping Redis node. Default timeout is 1000 milliseconds
        Returns:
        true if "PONG" reply received, false otherwise
      • pingAsync

        RFuture<Boolean> pingAsync​(long timeout,
                                   TimeUnit timeUnit)
        Ping Redis node with specified timeout.
        Parameters:
        timeout - - ping timeout
        timeUnit - - timeout unit
        Returns:
        true if "PONG" reply received, false otherwise
      • getConfigAsync

        RFuture<Map<String,​String>> getConfigAsync​(String parameter)
        Get value of Redis configuration parameter.
        Parameters:
        parameter - - name of parameter
        Returns:
        value of parameter
      • setConfigAsync

        RFuture<Void> setConfigAsync​(String parameter,
                                     String value)
        Set value of Redis configuration parameter.
        Parameters:
        parameter - - name of parameter
        value - - value of parameter
        Returns:
        void