![](../icons/Hazelcast-IMDG-Logo-Orange_Dark_200px.jpg) | IReplicatedMapTKey, TValueAddEntryListener Method (IEntryListenerTKey, TValue, IPredicate) |
Adds an continuous entry listener for this map.
Namespace:
Hazelcast.Core
Assembly:
Hazelcast.Net (in Hazelcast.Net.dll) Version: 3.9.4
Syntaxstring AddEntryListener(
IEntryListener<TKey, TValue> listener,
IPredicate predicate
)
Function AddEntryListener (
listener As IEntryListener(Of TKey, TValue),
predicate As IPredicate
) As String
String^ AddEntryListener(
IEntryListener<TKey, TValue>^ listener,
IPredicate^ predicate
)
abstract AddEntryListener :
listener : IEntryListener<'TKey, 'TValue> *
predicate : IPredicate -> string
Parameters
- listener
- Type: Hazelcast.CoreIEntryListenerTKey, TValue
entry listener - predicate
- Type: Hazelcast.CoreIPredicate
predicate for filtering entries
Return Value
Type:
Stringreturns registration id
Remarks
Adds a continuous entry listener for this map. Listener will get notified
for map add/remove/update/evict events filtered by given predicate.
See Also