Constructor and Description |
---|
RspList() |
RspList(java.util.Collection<Rsp<T>> responses)
Adds a list of responses
|
Modifier and Type | Method and Description |
---|---|
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() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
public boolean containsKey(java.lang.Object key)
public boolean containsValue(java.lang.Object value)
public T getValue(java.lang.Object key)
key
- public java.util.Set<Address> keySet()
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
in class java.lang.Object
Copyright © 1998-2020 Red Hat. All Rights Reserved.