@FunctionalInterface public interface SplitBrainProtectionListener extends EventListener
SplitBrainProtectionEvent
s are fired only after the minimum cluster size
requirement is met for the first time.
For instance, see the following scenario for a minimum cluster size is equal to 3:
Modifier and Type | Method and Description |
---|---|
void |
onChange(SplitBrainProtectionEvent splitBrainProtectionEvent)
Called when the state of the split brain detector is changed.
|
void onChange(SplitBrainProtectionEvent splitBrainProtectionEvent)
splitBrainProtectionEvent
- provides information about split brain protection
presence and current member list.Copyright © 2020 Hazelcast, Inc.. All rights reserved.