IMapK, VAddEntryListener Method (IEntryListenerK, V, K, Boolean)Hazelcast .Net Client Class Library
Adds the specified entry listener for the specified key.

Namespace: Hazelcast.Core
Assembly: HazelcastClient3x (in HazelcastClient3x.dll) Version: 3.3.0.9
Syntax

string AddEntryListener(
	IEntryListener<K, V> listener,
	K key,
	bool includeValue
)

Parameters

listener
Type: Hazelcast.CoreIEntryListenerK, V
entry listener
key
Type: K
key to listen
includeValue
Type: SystemBoolean
true if EntryEvent should contain the value.

Return Value

Type: String
returns registration id
Remarks

Adds the specified entry listener for the specified key. The listener will get notified for all add/remove/update/evict events of the specified key only.

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

Reference