|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ResponseFilter
A mechanism of filtering RPC responses. Used with RpcManager#invokeRemotely(java.util.List,
org.infinispan.commands.ReplicableCommand, ResponseMode, long, boolean, ResponseFilter)
Method Summary | |
---|---|
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 |
Method Detail |
---|
boolean isAcceptable(Response response, Address sender)
response
- The response (usually a serializable value)sender
- The sender of response
boolean needMoreResponses()
isAcceptable(Response, Address)
, this method is called to see whether we are done
with the request and can unblock the caller
|
Google Analytics | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |