Skip to content

Commit e1d8dba

Browse files
furkansenharputlumustafaiman
authored andcommitted
Give reference to related listeners in data structure sections
1 parent a608c83 commit e1d8dba

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

README.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1662,6 +1662,8 @@ client.getMap('my-distributed-map').then(function (mp) {
16621662

16631663
Hazelcast Map supports a Near Cache for remotely stored entries to increase the performance of read operations. See the [Near Cache section](#782-near-cache) for a detailed explanation of the Near Cache feature and its configuration.
16641664

1665+
Hazelcast Map uses `MapListener` to listen to events which occur when entries are added to, updated in, merged in, evicted from or removed from the Map. See the [Map Listener section](#7521-map-listener) for information on how to create a map listener object and register it.
1666+
16651667
### 7.4.2. Using MultiMap
16661668

16671669
Hazelcast `MultiMap` is a distributed and specialized map where you can store multiple values under a single key. For details, see the [MultiMap section](https://docs.hazelcast.org/docs/latest/manual/html-single/index.html#multimap) in the Hazelcast IMDG Reference Manual.
@@ -1691,6 +1693,8 @@ hz.getMultiMap('my-distributed-multimap').then(function (mmp) {
16911693
});
16921694
```
16931695

1696+
Hazelcast MultiMap uses `EntryListener` to listen to events which occur when entries are added to, or removed from the MultiMap. See the [Entry Listener section](#7522-entry-listener) for information on how to create an entry listener object and register it.
1697+
16941698
### 7.4.3. Using Replicated Map
16951699

16961700
Hazelcast `ReplicatedMap` is a distributed key-value data structure where the data is replicated to all members in the cluster. It provides full replication of entries to all members for high speed access. For details, see the [Replicated Map section](https://docs.hazelcast.org/docs/latest/manual/html-single/index.html#replicated-map) in the Hazelcast IMDG Reference Manual.
@@ -1714,6 +1718,8 @@ hz.getReplicatedMap('my-replicated-map').then(function (rmp) {
17141718
});
17151719
```
17161720

1721+
Hazelcast Replicated Map uses `EntryListener` to listen to events which occur when entries are added to, updated in, evicted from or removed from the Replicated Map. See the [Entry Listener section](#7522-entry-listener) for information on how to create an entry listener object and register it.
1722+
17171723
### 7.4.4. Using Queue
17181724

17191725
Hazelcast Queue (`IQueue`) is a distributed queue which enables all cluster members to interact with it. For details, see the [Queue section](https://docs.hazelcast.org/docs/latest/manual/html-single/index.html#queue) in the Hazelcast IMDG Reference Manual.
@@ -1745,6 +1751,8 @@ hz.getQueue('my-distributed-queue').then(function (q) {
17451751
});
17461752
```
17471753

1754+
Hazelcast Queue uses `ItemListener` to listen to events that occur when items are added to and removed from the Queue. See the [Item Listener section](#7523-item-listener) for information on how to create an item listener object and register it.
1755+
17481756
## 7.4.5. Using Set
17491757

17501758
Hazelcast Set (`ISet`) is a distributed set which does not allow duplicate elements. For details, see the [Set section](https://docs.hazelcast.org/docs/latest/manual/html-single/index.html#set) in the Hazelcast IMDG Reference Manual.
@@ -1776,6 +1784,8 @@ hz.getSet('my-distributed-set').then(function (s) {
17761784
});
17771785
```
17781786

1787+
Hazelcast Set uses `ItemListener` to listen to events that occur when items are added to and removed from the Set. See the [Item Listener section](#7523-item-listener) for information on how to create an item listener object and register it.
1788+
17791789
## 7.4.6. Using List
17801790

17811791
Hazelcast List (`IList`) is a distributed list which allows duplicate elements and preserves the order of elements. For details, see the [List section](https://docs.hazelcast.org/docs/latest/manual/html-single/index.html#list) in the Hazelcast IMDG Reference Manual.
@@ -1805,6 +1815,8 @@ hz.getList('my-distributed-list').then(function (l) {
18051815
});
18061816
```
18071817

1818+
Hazelcast List uses `ItemListener` to listen to events that occur when items are added to and removed from the List. See the [Item Listener section](#7523-item-listener) for information on how to create an item listener object and register it.
1819+
18081820
## 7.4.7. Using Ringbuffer
18091821

18101822
Hazelcast `Ringbuffer` is a replicated but not partitioned data structure that stores its data in a ring-like structure. You can think of it as a circular array with a given capacity. Each Ringbuffer has a tail and a head. The tail is where the items are added and the head is where the items are overwritten or expired. You can reach each element in a Ringbuffer using a sequence ID, which is mapped to the elements between the head and tail (inclusive) of the Ringbuffer. For details, see the [Ringbuffer section](https://docs.hazelcast.org/docs/latest/manual/html-single/index.html#ringbuffer) in the Hazelcast IMDG Reference Manual.
@@ -1853,6 +1865,8 @@ hz.getReliableTopic("my-distributed-topic").then(function (t) {
18531865
});
18541866
```
18551867

1868+
Hazelcast Reliable Topic uses `MessageListener` to listen to events that occur when a message is received. See the [Message Listener section](#7524-message-listener) for information on how to create a message listener object and register it.
1869+
18561870
## 7.4.9 Using Lock
18571871

18581872
Hazelcast Lock (`ILock`) is a distributed lock implementation. You can synchronize Hazelcast members and clients using a Lock. For details, see the [Lock section](https://docs.hazelcast.org/docs/latest/manual/html-single/index.html#lock) in the Hazelcast IMDG Reference Manual.

0 commit comments

Comments
 (0)