Class ClusterCommandExecutor.MultiNodeResult<T>

java.lang.Object
org.springframework.data.redis.connection.ClusterCommandExecutor.MultiNodeResult<T>
Type Parameters:
T -
Enclosing class:
ClusterCommandExecutor

public static class ClusterCommandExecutor.MultiNodeResult<T> extends Object
Since:
1.7
Author:
Christoph Strobl, Mark Paluch
  • Constructor Details

    • MultiNodeResult

      public MultiNodeResult()
  • Method Details

    • getResults

      public List<ClusterCommandExecutor.NodeResult<T>> getResults()
      Returns:
      never null.
    • resultsAsList

      public List<T> resultsAsList()
      Get List of all individual ClusterCommandExecutor.NodeResult.value.
      The resulting List may contain null values.
      Returns:
      never null.
    • resultsAsListSortBy

      public List<T> resultsAsListSortBy(byte[]... keys)
      Get List of all individual ClusterCommandExecutor.NodeResult.value.
      The resulting List may contain null values.
      Returns:
      never null.
    • getFirstNonNullNotEmptyOrDefault

      @Nullable public T getFirstNonNullNotEmptyOrDefault(@Nullable T returnValue)
      Parameters:
      returnValue - can be null.
      Returns:
      can be null.