public interface DistributedListener
DistributedListener are registered via DefinitionsService.
On each node of the cluster, a DistributedListener is invoked with the DistributedEvent
represeting the changes on the triggers the node should load/unload.| Modifier and Type | Method and Description |
|---|---|
void |
onChange(Set<DistributedEvent> events)
React to one or more distribution trigger changes sent to
DistributedListener. |
void onChange(Set<DistributedEvent> events)
DistributedListener.
Multiple events may be received in one notification as result of a topology change.events - distributed events triggering the notification.Copyright © 2015–2017 Red Hat, Inc.. All rights reserved.