T
- public static class ClusterCommandExecutor.MulitNodeResult<T> extends Object
ClusterCommandExecutor.MulitNodeResult
holds all ClusterCommandExecutor.NodeResult
of a command executed on multiple RedisClusterNode
.Constructor and Description |
---|
MulitNodeResult() |
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–2019 Pivotal Software, Inc.. All rights reserved.