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