| |
|
| java.lang.Object org.jgroups.util.RspList
RspList | public class RspList implements Map(Code) | | Contains responses from all members. Marks faulty members.
A RspList is a response list used in peer-to-peer protocols.
|
RspList | public RspList(Collection responses)(Code) | | Adds a lkist of responses
Parameters: responses - Collection |
clear | public void clear()(Code) | | |
containsValue | public boolean containsValue(Object value)(Code) | | |
get | public Object get(Object key)(Code) | | Returns the Rsp associated with address key
Parameters: key - Address (key) Rsp |
getFirst | public Object getFirst()(Code) | | Returns the first value in the response set. This is random, but we try to return a non-null value first
|
getResults | public Vector getResults()(Code) | | Returns the results from non-suspected members that are not null.
|
getSuspectedMembers | public Vector getSuspectedMembers()(Code) | | |
getValue | public Object getValue(Object key)(Code) | | Returns the value associated with address key
Parameters: key - Object value |
isEmpty | public boolean isEmpty()(Code) | | |
numSuspectedMembers | public int numSuspectedMembers()(Code) | | |
|
|
|