public interface RspFilter
Modifier and Type | Method and Description |
---|---|
boolean |
isAcceptable(java.lang.Object 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(Object, org.jgroups.Address) , this method is called to see whether
we are done with the request and can unblock the caller |
boolean isAcceptable(java.lang.Object response, Address sender)
response
- The response (usually a serializable value)sender
- The sender of responseRspList
) of a request,
otherwise false. In the latter case, we don't add the response to the response list.boolean needMoreResponses()
isAcceptable(Object, org.jgroups.Address)
, this method is called to see whether
we are done with the request and can unblock the callerCopyright © 1998-2020 Red Hat. All Rights Reserved.