E
- itempublic interface ICollection<E> extends Collection<E>, DistributedObject
Modifier and Type | Method and Description |
---|---|
String |
addItemListener(ItemListener<E> listener,
boolean includeValue)
Adds an item listener for this collection.
|
String |
getName()
Returns the name of this collection.
|
boolean |
removeItemListener(String registrationId)
Removes the specified item listener.
|
add, addAll, clear, contains, containsAll, equals, hashCode, isEmpty, iterator, parallelStream, remove, removeAll, removeIf, retainAll, size, spliterator, stream, toArray, toArray
destroy, getPartitionKey, getServiceName
String getName()
getName
in interface DistributedObject
String addItemListener(ItemListener<E> listener, boolean includeValue)
listener
- the item listenerincludeValue
- true
if the updated item should be passed
to the item listener, false
otherwiseboolean removeItemListener(String registrationId)
registrationId
- ID of the listener registrationtrue
if the item listener is removed, false
otherwiseCopyright © 2021 Hazelcast, Inc.. All Rights Reserved.