Class SingleResponseCollector
- java.lang.Object
-
- org.infinispan.remoting.transport.ValidSingleResponseCollector<ValidResponse>
-
- org.infinispan.remoting.transport.impl.SingleResponseCollector
-
- All Implemented Interfaces:
ResponseCollector<ValidResponse>
public class SingleResponseCollector extends ValidSingleResponseCollector<ValidResponse>
Response collector for a single response. Throws aSuspectException
if the node leaves or has already left the cluster.- Since:
- 9.2
- Author:
- Dan Berindei
-
-
Constructor Summary
Constructors Constructor Description SingleResponseCollector()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description protected ValidResponse
targetNotFound(Address sender)
static SingleResponseCollector
validOnly()
protected ValidResponse
withValidResponse(Address sender, ValidResponse response)
-
Methods inherited from class org.infinispan.remoting.transport.ValidSingleResponseCollector
addResponse, finish, withException
-
-
-
-
Method Detail
-
validOnly
public static SingleResponseCollector validOnly()
-
withValidResponse
protected ValidResponse withValidResponse(Address sender, ValidResponse response)
- Specified by:
withValidResponse
in classValidSingleResponseCollector<ValidResponse>
-
targetNotFound
protected ValidResponse targetNotFound(Address sender)
- Specified by:
targetNotFound
in classValidSingleResponseCollector<ValidResponse>
-
-