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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected ValidResponsetargetNotFound(Address sender) static SingleResponseCollectorprotected ValidResponsewithValidResponse(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:
withValidResponsein classValidSingleResponseCollector<ValidResponse>
-
targetNotFound
- Specified by:
targetNotFoundin classValidSingleResponseCollector<ValidResponse>
-