K - the keys type.V - the values type.@NoImplement public interface ClusterMap<K,V> extends ConcurrentMap<K,V>
It can be retrieved by using ClusterManager.getMap(String)
| Modifier and Type | Method and Description |
|---|---|
String |
addEntryListener(EntryListener<K,V> listener)
Adds a
EntryListener for this map. |
boolean |
removeEntryListener(UUID id)
Removes the specified entry listener.
|
compute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAllString addEntryListener(EntryListener<K,V> listener)
EntryListener for this map.
To receive an event, you should implement a corresponding EntryListener sub-interface for that event.
listener - EntryListener for this mapNullPointerException - if the specified listener is nullEntryListenerboolean removeEntryListener(UUID id)
Returns silently if there is no such listener added before.
id - ID of registered listenerCopyright © 2006–2025 MuleSoft, Inc.. All rights reserved.