Class SingleResponseCollector<S>
java.lang.Object
org.infinispan.remoting.transport.ValidSingleResponseCollector<S, ValidResponse<?>>
org.infinispan.remoting.transport.impl.SingleResponseCollector<S>
- All Implemented Interfaces:
ResponseCollector<S, ValidResponse<?>>
Response collector for a single response.
Throws a
SuspectException
if the node leaves
or has already left the cluster.- Since:
- 9.2
- Author:
- Dan Berindei
-
Method Summary
Modifier and TypeMethodDescriptionprotected ValidResponse
<?> targetNotFound
(S sender) static <S> SingleResponseCollector
<S> protected ValidResponse
<?> withValidResponse
(S sender, ValidResponse<?> response) Methods inherited from class org.infinispan.remoting.transport.ValidSingleResponseCollector
addResponse, finish, withException
-
Method Details
-
validOnly
-
withValidResponse
- Specified by:
withValidResponse
in classValidSingleResponseCollector<S, ValidResponse<?>>
-
targetNotFound
- Specified by:
targetNotFound
in classValidSingleResponseCollector<S, ValidResponse<?>>
-