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