|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jgroups.blocks.mux.NoMuxHandlerRspFilter
public class NoMuxHandlerRspFilter
Response filter that reject any NoMuxHandler
responses.
Constructor Summary | |
---|---|
NoMuxHandlerRspFilter()
|
|
NoMuxHandlerRspFilter(RspFilter filter)
|
Method Summary | |
---|---|
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 |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public NoMuxHandlerRspFilter()
public NoMuxHandlerRspFilter(RspFilter filter)
Method Detail |
---|
public boolean isAcceptable(java.lang.Object response, Address sender)
RspFilter
isAcceptable
in interface RspFilter
response
- The response (usually a serializable value)sender
- The sender of response
RspList
) of a request,
otherwise false. In the latter case, we don't add the response to the response list.public boolean needMoreResponses()
RspFilter
RspFilter.isAcceptable(Object, org.jgroups.Address)
, this method is called to see whether
we are done with the request and can unblock the caller
needMoreResponses
in interface RspFilter
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |