Skip to content
This repository was archived by the owner on Apr 11, 2025. It is now read-only.

Commit ac37007

Browse files
authored
Update cpp-client-getting-started.adoc
1 parent 0f1d250 commit ac37007

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

docs/modules/ROOT/pages/cpp-client-getting-started.adoc

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -156,13 +156,13 @@ std::cout << map->get<std::string,std::string>("sid12346").get() << std::endl;
156156

157157
== Add a Listener to the Map
158158

159-
You can add an entry listener using the add_entry_listener method available on map proxy object.
159+
You can add an entry listener using the `add_entry_listener` method available on map proxy object.
160160
This will allow you to listen to certain events that happen in the map across the cluster.
161161

162-
The first argument to the add_entry_listener method is an object that is used to define listeners.
163-
In this example, we registered listeners for the on_added”, “on_removed" and on_updated events.
162+
The first argument to the `add_entry_listener` method is an object that is used to define listeners.
163+
In this example, we registered listeners for the `on_added`, `on_removed` and `on_updated` events.
164164

165-
The second argument in the add_entry_listener method is include_value. It is a boolean parameter, and if it is true, the entry event contains the entry value.
165+
The second argument in the add_entry_listener method is `include_value`. It is a boolean parameter, and if it is true, the entry event contains the entry value.
166166
In this example, it will be true.
167167

168168
[source,cpp]

0 commit comments

Comments
 (0)