GetValuesAsync Method
GetValuesAsync(IPredicate)
Queries the map based on the specified predicate and returns a readonly collection of the values of matching entries. Gets values for entries matching a predicate.
Declaration
Task<IReadOnlyCollection<TValue>> GetValuesAsync(IPredicate predicate)
Parameters
| IPredicate | predicate | A predicate to filter the entries. |
Returns
| Task<IReadOnlyCollection<TValue>> | readonly collection of the values of matching entries. |
Remarks
Specified predicate runs on all members in parallel.
The returned collection is NOT backed by this dictionary, so changes to the dictionary are NOT reflected in the collection, and vice-versa.
The predicate must be serializable via Hazelcast serialization,
and have a counterpart on the server.