GetKeysAsync Method
GetKeysAsync(IPredicate)
Queries the map based on the specified predicate and returns matching keys.
Declaration
Task<IReadOnlyCollection<TKey>> GetKeysAsync(IPredicate predicate)
Parameters
| IPredicate | predicate | A predicate to filter the entries with. |
Returns
| Task<IReadOnlyCollection<TKey>> | readonly clone of all keys matching the predicate. |
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.