![](../icons/HazelcastLogo_Dark_200w.jpg) | IReplicatedMapTKey, TValueAddEntryListener Method (IEntryListenerTKey, TValue, IPredicate, TKey) |
Adds an continuous entry listener for this map.
Namespace:
Hazelcast.Core
Assembly:
Hazelcast.Net (in Hazelcast.Net.dll) Version: 3.9.2
Syntaxstring AddEntryListener(
IEntryListener<TKey, TValue> listener,
IPredicate predicate,
TKey key
)
Function AddEntryListener (
listener As IEntryListener(Of TKey, TValue),
predicate As IPredicate,
key As TKey
) As String
String^ AddEntryListener(
IEntryListener<TKey, TValue>^ listener,
IPredicate^ predicate,
TKey key
)
abstract AddEntryListener :
listener : IEntryListener<'TKey, 'TValue> *
predicate : IPredicate *
key : 'TKey -> string
Parameters
- listener
- Type: Hazelcast.CoreIEntryListenerTKey, TValue
entry listener - predicate
- Type: Hazelcast.CoreIPredicate
predicate for filtering entries - key
- Type: TKey
key to listen
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