Interface RedisFuture<V>

    • Method Detail

      • getError

        String getError()
        Returns:
        error text, if any error occurred.
      • await

        boolean await​(long timeout,
                      TimeUnit unit)
               throws InterruptedException
        Wait up to the specified time for the command output to become available.
        Parameters:
        timeout - Maximum time to wait for a result.
        unit - Unit of time for the timeout.
        Returns:
        true if the output became available.
        Throws:
        InterruptedException - if the current thread is interrupted while waiting