AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
Constructor and Description |
---|
RspList() |
RspList(int size) |
RspList(Map<Address,Rsp<T>> map) |
Modifier and Type | Method and Description |
---|---|
RspList<T> |
addRsp(Address sender,
T retval) |
T |
getFirst()
Returns the first value in the response set.
|
List<T> |
getResults()
Returns the results from non-suspected members that are not null.
|
List<Address> |
getSuspectedMembers() |
T |
getValue(Object key)
Returns the value associated with address key
|
boolean |
isReceived(Address sender) |
boolean |
isSuspected(Address sender) |
Iterator<Rsp<T>> |
iterator() |
int |
numReceived() |
int |
numSuspectedMembers() |
String |
toString() |
clear, clone, compute, computeIfAbsent, computeIfPresent, containsKey, containsValue, entrySet, forEach, get, getOrDefault, isEmpty, keySet, merge, put, putAll, putIfAbsent, remove, remove, replace, replace, replaceAll, size, values
equals, hashCode
finalize, getClass, notify, notifyAll, wait, wait, wait
forEach, spliterator
public T getValue(Object key)
key
- public boolean isReceived(Address sender)
public int numSuspectedMembers()
public int numReceived()
public T getFirst()
public List<T> getResults()
public boolean isSuspected(Address sender)
Copyright © 2018 JBoss, a division of Red Hat. All rights reserved.