Adds the specified entry listener for the specified key.
Namespace: Hazelcast.Core
Assembly: Hazelcast.Net (in Hazelcast.Net.dll) Version: 3.7.1
Syntax
string AddEntryListener( IEntryListener<TKey, TValue> listener, TKey key, bool includeValue )
Parameters
- listener
- Type: Hazelcast.CoreIEntryListenerTKey, TValue
entry listener - key
- Type: TKey
key to listen - includeValue
- Type: SystemBoolean
true if EntryEvent should contain the value.
Return Value
Type: Stringreturns registration id
Remarks
Warning:
This method uses hashCode and equals of binary form of the key, not the actual implementations of hashCode and equals defined in key's class.See Also