Backing map events
So far, we have discussed client-side event listeners that receive notifications when something happens in the cluster. One of the main characteristics of client-side listeners is that many of them can register to receive the same event, which is great when you need to use the event payload on each client. For example, you could use client-side event listeners to update the UI in many desktop applications as the data in the cluster changes.
However, there are cases when you want to react to an event only once, and in those cases you typically want to handle the event on the server it originated from.
In the previous chapter, we implemented a Work Manager task that allows us to send an e-mail alert to the customer if the balance ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access