Chapter 5. Listening Out
In a broad, distributed cluster of data storage, it is very useful to be able to know what is happening with our data, either to trigger an application-level response to an event, or to purely gain some visibility with regards to the internal goings-on. In this chapter, we will take a look at the following topics:
- Creating and using collection listeners
- Instance, lifecycle, and cluster membership listeners
- The partition migration listener
- Quorum functions and listeners
Listening to the goings-on
One great feature of Hazelcast is its ability to notify us of the goings-on of our persisted data and the cluster as a whole, allowing us to register an interest in events. The listener concept is borrowed from Java. So, you should feel ...
Get Getting Started with Hazelcast - Second Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.