public class NoMuxHandlerRspFilter extends java.lang.Object implements RspFilter
NoMuxHandler responses.| Constructor and Description |
|---|
NoMuxHandlerRspFilter() |
NoMuxHandlerRspFilter(RspFilter filter) |
| Modifier and Type | Method and Description |
|---|---|
static RspFilter |
createInstance(RspFilter filter) |
RspFilter |
getFilter() |
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
RspFilter.isAcceptable(Object, org.jgroups.Address), this method is called to see whether
we are done with the request and can unblock the caller |
public NoMuxHandlerRspFilter()
public NoMuxHandlerRspFilter(RspFilter filter)
public RspFilter getFilter()
public boolean isAcceptable(java.lang.Object response,
Address sender)
RspFilterisAcceptable in interface RspFilterresponse - 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.public boolean needMoreResponses()
RspFilterRspFilter.isAcceptable(Object, org.jgroups.Address), this method is called to see whether
we are done with the request and can unblock the callerneedMoreResponses in interface RspFilterCopyright © 1998-2020 Red Hat. All Rights Reserved.