Class KeyPublisherResult<K,R>
- java.lang.Object
-
- org.infinispan.reactive.publisher.impl.commands.reduction.KeyPublisherResult<K,R>
-
- All Implemented Interfaces:
PublisherResult<R>
public class KeyPublisherResult<K,R> extends Object implements PublisherResult<R>
A PublisherResult that was performed due to included keys. Note that this response is only ever created on the originator node. This is because we can't have a partial response with key based publishers. Either all results are returned or the node crashes or has an exception.- Since:
- 10.0
- Author:
- wburns
-
-
Constructor Summary
Constructors Constructor Description KeyPublisherResult(Set<K> suspectedKeys)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description RgetResult()Set<K>getSuspectedKeys()org.infinispan.commons.util.IntSetgetSuspectedSegments()StringtoString()
-
-
-
Method Detail
-
getSuspectedSegments
public org.infinispan.commons.util.IntSet getSuspectedSegments()
- Specified by:
getSuspectedSegmentsin interfacePublisherResult<K>
-
getSuspectedKeys
public Set<K> getSuspectedKeys()
- Specified by:
getSuspectedKeysin interfacePublisherResult<K>
-
getResult
public R getResult()
- Specified by:
getResultin interfacePublisherResult<K>
-
-