Interface RedisNode

    • Method Detail

      • getMemoryStatistics

        Map<String,​String> getMemoryStatistics()
        Returns Redis memory statistics
        Returns:
        statistics info map
      • time

        Time time()
        Returns current Redis server time in seconds
        Returns:
        time in seconds
      • ping

        boolean ping()
        Ping Redis node. Default timeout is 1000 milliseconds
        Returns:
        true if "PONG" reply received, false otherwise
      • ping

        boolean ping​(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
      • getConfig

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

        void setConfig​(String parameter,
                       String value)
        Set value of Redis configuration parameter.
        Parameters:
        parameter - - name of parameter
        value - - value of parameter