public interface ResponseFilter
Modifier and Type | Method and Description |
---|---|
boolean |
isAcceptable(Response response,
Address sender)
Determines whether a response from a given sender should be added to the response list of the request
|
boolean |
needMoreResponses()
Right after calling
isAcceptable(Response, Address) , this method is called to see whether we are done
with the request and can unblock the caller |
boolean isAcceptable(Response response, Address sender)
response
- The response (usually a serializable value)sender
- The sender of responseboolean needMoreResponses()
isAcceptable(Response, Address)
, this method is called to see whether we are done
with the request and can unblock the callerCopyright © 2021 JBoss by Red Hat. All rights reserved.