T
- public static class ClusterCommandExecutor.MultiNodeResult<T> extends Object
ClusterCommandExecutor.MultiNodeResult
holds all ClusterCommandExecutor.NodeResult
of a command executed on multiple RedisClusterNode
.Constructor and Description |
---|
MultiNodeResult() |
Modifier and Type | Method and Description |
---|---|
T |
getFirstNonNullNotEmptyOrDefault(T returnValue) |
List<ClusterCommandExecutor.NodeResult<T>> |
getResults() |
List<T> |
resultsAsList()
Get
List of all individual ClusterCommandExecutor.NodeResult.value . |
List<T> |
resultsAsListSortBy(byte[]... keys)
Get
List of all individual ClusterCommandExecutor.NodeResult.value . |
public List<ClusterCommandExecutor.NodeResult<T>> getResults()
public List<T> resultsAsList()
List
of all individual ClusterCommandExecutor.NodeResult.value
. List
may contain null values.public List<T> resultsAsListSortBy(byte[]... keys)
List
of all individual ClusterCommandExecutor.NodeResult.value
. List
may contain null values.Copyright © 2011–2023 Pivotal Software, Inc.. All rights reserved.