com.hazelcast.core
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, remove, removeAll, retainAll, size, toArray, toArray
destroy, getId, 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 otherwise.boolean removeItemListener(String registrationId)
registrationId
- Id of the listener registration.Copyright © 2015 Hazelcast, Inc.. All Rights Reserved.