限定符和类型 | 方法和说明 |
---|---|
void |
addNotReceived(Address sender) |
void |
addRsp(Address sender,
T retval) |
void |
clear() |
boolean |
containsKey(java.lang.Object key) |
boolean |
containsValue(java.lang.Object value) |
java.util.Set<java.util.Map.Entry<Address,Rsp<T>>> |
entrySet() |
Rsp<T> |
get(java.lang.Object key)
Returns the Rsp associated with address key
|
T |
getFirst()
Returns the first value in the response set.
|
java.util.List<T> |
getResults()
Returns the results from non-suspected members that are not null.
|
java.util.List<Address> |
getSuspectedMembers() |
T |
getValue(java.lang.Object key)
Returns the value associated with address key
|
boolean |
isEmpty() |
boolean |
isReceived(Address sender) |
boolean |
isSuspected(Address sender) |
java.util.Iterator<Rsp<T>> |
iterator() |
java.util.Set<Address> |
keySet() |
int |
numReceived() |
int |
numSuspectedMembers() |
Rsp<T> |
put(Address key,
Rsp<T> value) |
void |
putAll(java.util.Map<? extends Address,? extends Rsp<T>> m) |
Rsp<T> |
remove(java.lang.Object key) |
int |
size() |
java.lang.String |
toString() |
java.util.Collection<Rsp<T>> |
values() |
public boolean containsKey(java.lang.Object key)
public boolean containsValue(java.lang.Object value)
public T getValue(java.lang.Object key)
key
- public void addNotReceived(Address sender)
public boolean isReceived(Address sender)
public int numSuspectedMembers()
public int numReceived()
public T getFirst()
public java.util.List<T> getResults()
public java.util.List<Address> getSuspectedMembers()
public boolean isSuspected(Address sender)
public java.lang.String toString()
toString
在类中 java.lang.Object