Class ClusterCommandExecutor.MultiNodeResult<T>
java.lang.Object
org.springframework.data.redis.connection.ClusterCommandExecutor.MultiNodeResult<T>
- Type Parameters:
T
-
- Enclosing class:
- ClusterCommandExecutor
ClusterCommandExecutor.MultiNodeResult
holds all ClusterCommandExecutor.NodeResult
of a command executed on multiple RedisClusterNode
.- Since:
- 1.7
- Author:
- Christoph Strobl, Mark Paluch
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetFirstNonNullNotEmptyOrDefault
(T returnValue) GetList
of all individualClusterCommandExecutor.NodeResult.value
.resultsAsListSortBy
(byte[]... keys) GetList
of all individualClusterCommandExecutor.NodeResult.value
.
-
Constructor Details
-
MultiNodeResult
public MultiNodeResult()
-
-
Method Details
-
getResults
- Returns:
- never null.
-
resultsAsList
GetList
of all individualClusterCommandExecutor.NodeResult.value
.
The resultingList
may contain null values.- Returns:
- never null.
-
resultsAsListSortBy
GetList
of all individualClusterCommandExecutor.NodeResult.value
.
The resultingList
may contain null values.- Returns:
- never null.
-
getFirstNonNullNotEmptyOrDefault
- Parameters:
returnValue
- can be null.- Returns:
- can be null.
-