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 aSuspectExceptionif 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 ValidResponsetargetNotFound(Address sender)static SingleResponseCollectorvalidOnly()protected ValidResponsewithValidResponse(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:
withValidResponsein classValidSingleResponseCollector<ValidResponse>
-
targetNotFound
protected ValidResponse targetNotFound(Address sender)
- Specified by:
targetNotFoundin classValidSingleResponseCollector<ValidResponse>
-
-