IMapTKey, TValueAddEntryListener Method (IEntryListenerTKey, TValue, TKey, Boolean)Hazelcast .Net Client Class Library

Note: This API is now obsolete.

Adds the specified entry listener for the specified key.

Namespace: Hazelcast.Core
Assembly: Hazelcast.Net (in Hazelcast.Net.dll) Version: 3.9.1
Syntax

[ObsoleteAttribute]
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: 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