Events and Event Handling
Geode provides versatile and reliable event distribution and handling for your cached data and system member events.
-
Members in your cluster receive cache updates from other members through cache events. The other members can be peers to the member, clients or servers or other clusters.
Implementing Geode Event Handlers
You can specify event handlers for region and region entry operations and for administrative events.
Configuring Peer-to-Peer Event Messaging
You can receive events from cluster peers for any region that is not a local region. Local regions receive only local cache events.
Configuring Client/Server Event Messaging
You can receive events from your servers for server-side cache events and query result changes.
Configuring Multi-Site (WAN) Event Queues
In a multi-site (WAN) installation, Geode uses gateway sender queues to distribute events for regions that are configured with a gateway sender. AsyncEventListeners also use an asynchronous event queue to distribute events for configured regions. This section describes additional options for configuring the event queues that are used by gateway senders or AsyncEventListener implementations.