Class SingleResponseCollector
java.lang.Object
org.infinispan.remoting.transport.ValidSingleResponseCollector<ValidResponse>
org.infinispan.remoting.transport.impl.SingleResponseCollector
- All Implemented Interfaces:
ResponseCollector<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
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected ValidResponse
targetNotFound
(Address sender) static SingleResponseCollector
protected ValidResponse
withValidResponse
(Address sender, ValidResponse response) Methods inherited from class org.infinispan.remoting.transport.ValidSingleResponseCollector
addResponse, finish, withException
-
Constructor Details
-
SingleResponseCollector
public SingleResponseCollector()
-
-
Method Details
-
validOnly
-
withValidResponse
- Specified by:
withValidResponse
in classValidSingleResponseCollector<ValidResponse>
-
targetNotFound
- Specified by:
targetNotFound
in classValidSingleResponseCollector<ValidResponse>
-