Adds an item listener for this collection.
Namespace: Hazelcast.CoreAssembly: Hazelcast.Net (in Hazelcast.Net.dll) Version: 3.9
string AddItemListener(
IItemListener<T> listener,
bool includeValue
)
Function AddItemListener (
listener As IItemListener(Of T),
includeValue As Boolean
) As String
String^ AddItemListener(
IItemListener<T>^ listener,
bool includeValue
)
abstract AddItemListener :
listener : IItemListener<'T> *
includeValue : bool -> string
Parameters
- listener
- Type: Hazelcast.CoreIItemListenerT
item listener - includeValue
- Type: SystemBoolean
true updated item should be passed
to the item listener, false otherwise.
Return Value
Type:
Stringreturns registration id.
Adds an item listener for this collection. Listener will get notified
for all collection add/remove events.
Reference